Browse Source

Merge pull request #501 from songzhibin97/gva_gormv2_dev

增加 go generate 懒人模式
main
奇淼(piexlmax 3 years ago
committed by GitHub
parent
commit
ee07bea5ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      server/main.go

5
server/main.go

@ -6,6 +6,11 @@ import (
"gin-vue-admin/initialize" "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 // @title Swagger Example API
// @version 0.0.1 // @version 0.0.1
// @description This is a sample Server pets // @description This is a sample Server pets

Loading…
Cancel
Save