在Goland中运行单元测试报错Error: Cannot find package
如下图,在Goland中运行单元测试时报错:“Error: Cannot find package”
弹出如下报错提示窗口:
解决办法:在Goland设置界面中取消勾选“Enable Go modules integration”。
参考:goland中运行go 时报package xxx is not in GOROOT
标签:常见问题,package,编程,Goland,报错,go,find From: https://www.cnblogs.com/nuccch/p/17632566.html