Posted in

为什么你的Go程序在Docker里总报“cannot find module”?——环境变量链式加载顺序权威拆解(Go 1.21+源码级验证)

第一章:Go程序在Docker中 … 为什么你的Go程序在Docker里总报“cannot find module”?——环境变量链式加载顺序权威拆解(Go 1.21+源码级验证)Read more

Posted in

LiteIDE配置Go环境时出现“cannot find package”?不是网络问题!是Go module proxy缓存污染导致的静默失败

第一章:LiteIDE配置Go开 … LiteIDE配置Go环境时出现“cannot find package”?不是网络问题!是Go module proxy缓存污染导致的静默失败Read more

Posted in

为什么VS Code的Go扩展在Win10总报“Failed to find ‘go’ binary”?真相是Code以非登录Shell启动——3种ShellPath注入方案实测有效率100%

第一章:VS Code Go扩展 … 为什么VS Code的Go扩展在Win10总报“Failed to find ‘go’ binary”?真相是Code以非登录Shell启动——3种ShellPath注入方案实测有效率100%Read more

Posted in

Linux配置Go环境时遇到“cannot find main module”?这是Go 1.18+模块感知模式下的7种触发场景

第一章:Linux配置Go环境时 … Linux配置Go环境时遇到“cannot find main module”?这是Go 1.18+模块感知模式下的7种触发场景Read more