重新初始化仓库
This commit is contained in:
20
main.go
Normal file
20
main.go
Normal file
@ -0,0 +1,20 @@
|
||||
// Package main ...
|
||||
//
|
||||
// Description : 入口文件
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2021-01-23 10:35 下午
|
||||
package main
|
||||
|
||||
import (
|
||||
"git.zhangdeman.cn/zhangdeman/center-config/construct"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func main() {
|
||||
router := gin.Default()
|
||||
if err := construct.Bootstrap(router); nil != err {
|
||||
panic("服务启动失败, 原因 : " + err.Error())
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user