aboutsummaryrefslogtreecommitdiff
path: root/web.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-19 14:39:07 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-19 14:39:07 +0800
commit3da325591b5d8578f575f5fad59595f3c5efe4d6 (patch)
tree65d0d4c045311044d2526052dc6b734ff6a56db2 /web.go
parent3ceb008e1f50b89a2e0fda8fac939df92642219c (diff)
bug fixed for commits list
Diffstat (limited to 'web.go')
-rw-r--r--web.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/web.go b/web.go
index ca504ea5..3ca93f30 100644
--- a/web.go
+++ b/web.go
@@ -34,6 +34,10 @@ gogs web`,
Flags: []cli.Flag{},
}
+func Range(l int) []int {
+ return make([]int, l)
+}
+
func runWeb(*cli.Context) {
log.Info("%s %s", base.AppName, base.AppVer)