在Goland中運行單元測試報錯Error: Cannot find package
如下圖,在Goland中運行單元測試時報錯:“Error: Cannot find package”
彈出如下報錯提示窗口:
解決辦法:在Goland設置界面中取消勾選“Enable Go modules integration”。
Error: Cannot find package
如下圖,在Goland中運行單元測試時報錯:“Error: Cannot find package”
彈出如下報錯提示窗口:
解決辦法:在Goland設置界面中取消勾選“Enable Go modules integration”。