golang项目开启mod模式并安装依赖完成后,import导入代码仍然飘红 原因是索引路径问题,此时当前项目的依赖路径,可以看到External Libraries只有Go SDK,并没有Go Modules 解决:File -> Settings -> Languages &
问题描述 在IDEA配置GOROOT本地路径 Languages & Frameworks -> Go -> GOROOT 时报错: The selected directory is not a valid home for Go SDK 出现这个错误的原因是 idea 的 G
go项目开发时,报cc1.exe: sorry, unimplemented: 64-bit mode not compiled in错误 # git clone https://github.com/Calcium-Ion/new-api.git # cd new-api # go version
官方下载:https://golang.google.cn/dl/ 推荐下载:go1.20.12 # go version go version go1.20.12 windows/amd64 # set GOPROXY=https://goproxy.cn IDEA配置 插件安装:Go IDEA