go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.io,direct 项目目录下 go mod init gin go mod edit -require github.com/gin-gonic/gin@latest
go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.io,direct 项目目录下 go mod init gin go mod edit -require github.com/gin-gonic/gin@latest