From aff5c425ca68cf46da67e38b6b5b8f103b8312bb Mon Sep 17 00:00:00 2001 From: songzhibin97 <718428482@qq.com> Date: Thu, 3 Jun 2021 14:44:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20go=20generate=20=E6=87=92?= =?UTF-8?q?=E4=BA=BA=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/main.go b/server/main.go index ee9080f1..ae8f256d 100644 --- a/server/main.go +++ b/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