go语言
金米kk
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
beego代理设置
windos设置 go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct llinux mac设置 export GO111MODULE=on export GOPROXY=https://goproxy.cn原创 2021-01-25 17:41:22 · 392 阅读 · 0 评论 -
go语言出现cannot find module providing package github.com/xxx解决办法
go mod init gin go mod edit -require github.com/gin-gonic/gin@latest 引入mysql驱动以后,引用包以后,写mysql代码,运行后报错。 mysql.go:6:2: cannot find module providing package github.com/go-sql-driver/mysql: working directory is not part of a mo dule 用上面两个命令解决。仅供参考。并非万能 .原创 2020-12-20 21:12:12 · 11870 阅读 · 0 评论
分享