diff options
author | shengxiang[skyblue] <ssx205@gmail.com> | 2014-03-18 21:58:58 +0800 |
---|---|---|
committer | shengxiang[skyblue] <ssx205@gmail.com> | 2014-03-18 21:58:58 +0800 |
commit | ccd43b09b22f551070c2656dd2f4c7f347619a1c (patch) | |
tree | b803467fe823b455673f8acf16e298f3e30a1dae /update.go | |
parent | 76644c2fcc29d89dfea2248966527d1996628184 (diff) | |
download | gitea-ccd43b09b22f551070c2656dd2f4c7f347619a1c.tar.gz gitea-ccd43b09b22f551070c2656dd2f4c7f347619a1c.zip |
add some comment
Diffstat (limited to 'update.go')
-rw-r--r-- | update.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,8 +10,7 @@ import ( "github.com/codegangsta/cli" - git "github.com/gogits/git" - + "github.com/gogits/git" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/log" ) @@ -25,6 +24,7 @@ gogs serv provide access auth for repositories`, Flags: []cli.Flag{}, } +// for command: ./gogs update func runUpdate(*cli.Context) { userName := os.Getenv("userName") userId := os.Getenv("userId") |