You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
292 B

package main
import (
"goskeleton/app/global/variable"
_ "goskeleton/bootstrap"
"goskeleton/routers"
)
// 这里可以存放后端路由(例如后台管理系统)
func main() {
router := routers.InitWebRouter()
_ = router.Run(variable.ConfigYml.GetString("HttpServer.Web.Port"))
}