Browse Source

增加 go generate 懒人模式

main
songzhibin97 3 years ago
parent
commit
aff5c425ca
  1. 5
      server/main.go

5
server/main.go

@ -6,6 +6,11 @@ import (
"gin-vue-admin/initialize"
)
//go:generate go env -w GO111MODULE=on
//go:generate go env -w GOPROXY=https://goproxy.cn,direct
//go:generate go mod tidy
//go:generate go mod download
// @title Swagger Example API
// @version 0.0.1
// @description This is a sample Server pets

Loading…
Cancel
Save