routes/api/v1: codemod

This commit is contained in:
unknwon
2019-08-08 23:53:43 -07:00
parent 04de977855
commit c7ba519af2
16 changed files with 234 additions and 250 deletions

View File

@@ -16,17 +16,17 @@ import (
"github.com/gogs/gogs/pkg/setting"
)
const APP_VER = "0.11.90.0801"
const Version = "0.11.91.0808"
func init() {
setting.AppVer = APP_VER
setting.AppVer = Version
}
func main() {
app := cli.NewApp()
app.Name = "Gogs"
app.Usage = "A painless self-hosted Git service"
app.Version = APP_VER
app.Version = Version
app.Commands = []cli.Command{
cmd.Web,
cmd.Serv,