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.
16 lines
358 B
16 lines
358 B
1 month ago
|
package main
|
||
|
|
||
|
import (
|
||
|
// "goskeleton/app/global/variable"
|
||
|
_ "goskeleton/bootstrap"
|
||
|
"goskeleton/routers"
|
||
|
)
|
||
|
|
||
|
// 这里可以存放后端路由(例如后台管理系统)
|
||
|
func main() {
|
||
|
// router := routers.InitWebRouter()
|
||
|
// _ = router.Run(variable.ConfigYml.GetString("HttpServer.Web.Port"))
|
||
|
r:=routers.InitWebRouter_Co()
|
||
|
r.Run("localhost:14514")
|
||
|
}
|