1 Star 0 Fork 0

Alnk/go-deploy-system-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 448 Bytes
一键复制 编辑 原始数据 按行查看 历史
Alnk 提交于 2024-07-10 23:07 . 整理项目,进行项目开源
/*
Go在MacOS上打包成Win及Linux运行文件
Linux
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o yf_deploy_system_go_Linux
Windows
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o yf_deploy_system_go_Win
Mac
go build -o yf_deploy_system_go_Mac
*/
package main
import (
"go-deploy-system-server/model"
"go-deploy-system-server/routes"
)
func main() {
// 初始化数据库
model.InitDb()
// 引用路由
routes.InitRouter()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lichengguo/go-deploy-system-server.git
git@gitee.com:lichengguo/go-deploy-system-server.git
lichengguo
go-deploy-system-server
go-deploy-system-server
master

搜索帮助