go配置

解决go: go.mod file not found in current directory or any parent directory; see ‘go help modules‘
go env -w GO111MODULE=on
go mod init xxx //xxx代表文件夹名
 
posted @ 2023-05-17 05:09  洪豆豆的记录  阅读(13)  评论(0)    收藏  举报