21 lines
402 B
Go
21 lines
402 B
Go
|
// 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())
|
||
|
}
|
||
|
}
|