首页 >
系统 >
linux
go运行出现 missing go.sum entry for module providing package 错误
时间:2022-09-14 18:37:41 点击: 来源: 作者:
go运行出现 missing go.sum entry for module providing package 错误的解决文案。 ...
在使用“go get”安装了第三方依赖库后,执行程序报以下错误:
go run main/main.go
missing go.sum entry for module providing package ...

问题分析:代码中使用了第三方库,但是go.mod并没有跟着更新。执行以下命令后重新运行即可:
go mod tidy
”您可通过以下微信二维码,赞赏作者“
