Ai
1 Star 0 Fork 0

cheneylau/components

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
app.go 307 Bytes
一键复制 编辑 原始数据 按行查看 历史
cheneylau 提交于 2022-03-06 10:33 +08:00 . ++
package web_server
import (
global_util "gitee.com/cheneylau/components/web-server/global/global-util"
"github.com/gin-gonic/gin"
)
func StartHttpServer() {
r := gin.New()
ConfigRoute(r)
// 监听并在 0.0.0.0:8080 上启动服务
port := global_util.AppConfigLevel1("httpport")
r.Run(":"+port)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/cheneylau/components.git
git@gitee.com:cheneylau/components.git
cheneylau
components
components
90ff6820d0c6

搜索帮助