]> source.dussan.org Git - gitea.git/commitdiff
Linter doesn't like uppercase variables
authorThomas Boerger <thomas@webhippie.de>
Fri, 4 Nov 2016 11:32:04 +0000 (12:32 +0100)
committerThomas Boerger <thomas@webhippie.de>
Fri, 4 Nov 2016 22:45:06 +0000 (23:45 +0100)
main.go

diff --git a/main.go b/main.go
index 43eb8fdb7270cce2a7243c30da6e6ccb855dc682..f077b5ec31b57f2fb065fe11bde367749d7defc6 100644 (file)
--- a/main.go
+++ b/main.go
@@ -16,18 +16,19 @@ import (
        "github.com/urfave/cli"
 )
 
-const APP_VER = "0.9.99.0915"
+// Version holds the current Gitea version
+const Version = "0.9.99.0915"
 
 func init() {
        runtime.GOMAXPROCS(runtime.NumCPU())
-       setting.AppVer = APP_VER
+       setting.AppVer = Version
 }
 
 func main() {
        app := cli.NewApp()
        app.Name = "Gogs"
        app.Usage = "Go Git Service: a painless self-hosted Git service"
-       app.Version = APP_VER
+       app.Version = Version
        app.Commands = []cli.Command{
                cmd.CmdWeb,
                cmd.CmdServ,