Browse Source
Merge pull request #501 from songzhibin97/gva_gormv2_dev
增加 go generate 懒人模式
main
奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
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
|
|
|
|