Linter doesn't like uppercase variables

This commit is contained in:
Thomas Boerger 2016-11-04 12:32:04 +01:00
rodič 648c6fdd60
revize 212a04a45e
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: 5A388F55283960B6
1 změnil soubory, kde provedl 4 přidání a 3 odebrání

Zobrazit soubor

@ -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,