summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2016-11-25 16:19:24 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2016-11-25 16:19:24 +0800
commitb47051e59bd8cba3d6bedbc95e2b2c8aa7dd6365 (patch)
tree42e4224db7b5ee89900747ffc8a3fd82891b71e8
parent081c2a9395706e24bb396bf2aa9ac8a92d0a8f40 (diff)
downloadgitea-b47051e59bd8cba3d6bedbc95e2b2c8aa7dd6365.tar.gz
gitea-b47051e59bd8cba3d6bedbc95e2b2c8aa7dd6365.zip
golint fixed for modules/cron
-rw-r--r--modules/cron/cron.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cron/cron.go b/modules/cron/cron.go
index 80eb24b539..e1110d787b 100644
--- a/modules/cron/cron.go
+++ b/modules/cron/cron.go
@@ -16,6 +16,7 @@ import (
var c = cron.New()
+// NewContext begins cron tasks
func NewContext() {
var (
entry *cron.Entry