Loading... 如果开启了用国内镜像开启了**GO111MODULE=on** 需要在golang中开启使用mod模式 ![image.png](https://vfxer.me/usr/uploads/2020/12/3432127493.png) 并且在使用的根目录下建立go.mod ![image.png](https://vfxer.me/usr/uploads/2020/12/3997945827.png) Last modification:December 26th, 2020 at 11:05 pm © 允许规范转载 Support If you think my article is useful to you, please feel free to appreciate ×Close Appreciate the author Sweeping payments