瀏覽代碼

Linter doesn't like uppercase variables

tags/v1.0.0
Thomas Boerger 7 年之前
父節點
當前提交
212a04a45e
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 4 行新增3 行删除
  1. 4
    3
      main.go

+ 4
- 3
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…
取消
儲存