1 Star 0 Fork 186

oschina_Nsg / godoc

forked from Minho / mindoc
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 824 Bytes
一键复制 编辑 原始数据 按行查看 历史
Minho 提交于 2017-05-10 13:43 . 1、修复编辑器不显示滚动条的BUG
package main
import (
"fmt"
"os"
_ "github.com/go-sql-driver/mysql"
_ "github.com/lifei6671/godoc/routers"
_ "github.com/astaxie/beego/session/redis"
_ "github.com/astaxie/beego/session/memcache"
_ "github.com/astaxie/beego/session/mysql"
"github.com/astaxie/beego"
"github.com/lifei6671/godoc/commands"
"github.com/lifei6671/godoc/controllers"
)
var (
VERSION string
BUILD_TIME string
GO_VERSION string
)
func main() {
fmt.Printf("MinDoc version => %s\nbuild time => %s\nstart directory => %s\n%s\n", VERSION, BUILD_TIME, os.Args[0],GO_VERSION)
commands.RegisterDataBase()
commands.RegisterModel()
commands.RegisterLogger()
commands.RegisterCommand()
commands.RegisterFunction()
beego.SetStaticPath("uploads","uploads")
beego.ErrorController(&controllers.ErrorController{})
beego.Run()
}
JavaScript
1
https://gitee.com/nsg/godoc.git
git@gitee.com:nsg/godoc.git
nsg
godoc
godoc
master

搜索帮助