mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 12:53:57 +01:00
Linter doesn't like uppercase variables
This commit is contained in:
parent
648c6fdd60
commit
212a04a45e
1 changed files with 4 additions and 3 deletions
7
main.go
7
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,
|
||||
|
|
Loading…
Reference in a new issue