1 Star 1 Fork 0

lhtzbj12/snowflake-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 227 Bytes
一键复制 编辑 原始数据 按行查看 历史
lhtzbj12 提交于 2023-02-12 18:35 . 初次公开
package main
import (
"log"
"sfgo/common/tools"
"sfgo/discovery"
"sfgo/web"
)
var port = tools.GetEnv("SERVER_PORT", "8074")
func main() {
log.Println("server start.")
discovery.AutoRegister(port)
web.Run("", port)
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lhtzbj12/snowflake-go.git
git@gitee.com:lhtzbj12/snowflake-go.git
lhtzbj12
snowflake-go
snowflake-go
main

搜索帮助

D67c1975 1850385 1daf7b77 1850385