万千资讯,一钩钓之。
搭建 Golang 和 node.js 运行环境
git clone https://github.com/YupaiTS/yugle.git 下载代码
git clone https://github.com/YupaiTS/yugle.git
使用 go get xxx 命令下载依赖包
go get xxx
在本地 MySQL 数据库中新建 yugle 数据库
yugle
使用 go test yugle_test.go 命令运行单元测试用例
go test yugle_test.go
使用 go run main.go 命令运行项目
go run main.go