1 Star 0 Fork 0

bufolai/gogs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gogs.go 708 Bytes
一键复制 编辑 原始数据 按行查看 历史
unknwon 提交于 2019-08-10 13:40 . routes/api/v1: codemod
// +build go1.8
// Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
// Gogs is a painless self-hosted Git Service.
package main
import (
"os"
"github.com/urfave/cli"
"github.com/gogs/gogs/cmd"
"github.com/gogs/gogs/pkg/setting"
)
const Version = "0.11.91.0810"
func init() {
setting.AppVer = Version
}
func main() {
app := cli.NewApp()
app.Name = "Gogs"
app.Usage = "A painless self-hosted Git service"
app.Version = Version
app.Commands = []cli.Command{
cmd.Web,
cmd.Serv,
cmd.Hook,
cmd.Cert,
cmd.Admin,
cmd.Import,
cmd.Backup,
cmd.Restore,
}
app.Run(os.Args)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/bufoai/gogs.git
git@gitee.com:bufoai/gogs.git
bufoai
gogs
gogs
master

搜索帮助