You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dark 204af245f9 模版修改 1 year ago
1.7.3 模版修改 1 year ago
readme.md 模版修改 1 year ago

readme.md

开始新项目

  • 检查环境
goctl env check --install --verbose --force
  • 创建项目,xxx 改为项目名
mkdir xxx
cd xxx
go mod init xxx
go get -u github.com/zeromicro/go-zero@latest
go mod tidy
  • 创建服务
mkdir api
cd api 
goctl api new xxx --style go-zero --remote https://gitea.gxxhygroup.com/dark/zero-template
cd xxx
go mod tidy