![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程语言
发布编程语言类文章
mlwise
这个作者很懒,什么都没留下…
展开
-
VSCode安装go相关插件失败的解决方案
GO环境信息C:\Users\home>go versiongo version go1.18.2 windows/amd64C:\Users\home>安装go插件之后,VSCode开始写代码会提示安装其他插件,错误信息如下:Installing 8 tools at C:\Go\repository\bin in module mode. gotests gomodifytags impl goplay dlv staticcheck g.原创 2022-05-20 00:39:30 · 20099 阅读 · 6 评论 -
golang 引入导入本地其他项目的包或者其他目录的代码
项目目录结构如下,本文主要是解决如何引入其他文件夹的代码或者其他项目的包。刚开始老是碰到引入问题。编译时,引入错误通常会报malformed module path "xxxxx/common/message": missing dot in first path element类似的错误。还有就是有些开源库中用到golang.org/x/....等问题,golang.org这个网址本身无法访问造...原创 2020-04-07 02:09:04 · 16515 阅读 · 0 评论