摘要: 批量注释ctrl+/ 阅读全文
posted @ 2020-05-31 09:16 kylingx 阅读(138) 评论(0) 推荐(0) 编辑
摘要: go run hello.go go build编译 go install = go build 然后移动至bin目录 #跨平台编译 liux下 CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build hello.go win下 SET CGO_ENABLE 阅读全文
posted @ 2020-05-31 08:50 kylingx 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 下载go开发包 https://golang.google.cn/dl/ 设置环境变量 https://www.goproxy.io/zh/docs/getting-started.html cmd go env -w GO111MODULE=on go env -w GOPROXY=https:/ 阅读全文
posted @ 2020-05-31 08:48 kylingx 阅读(496) 评论(0) 推荐(0) 编辑