首页 > 其他分享 >bug-missing GOSUMDB

bug-missing GOSUMDB

时间:2024-02-15 21:11:20浏览次数:38  
标签:uber missing valyala GOSUMDB module go com bug zap

  问题描述:

  • D:\gopj>go mod tidy go: finding module for package go.uber.org/zap go: finding module for package github.com/valyala/fasthttp go: downloading go.uber.org/zap v1.26.0 go: downloading github.com/valyala/fasthttp v1.52.0 go: githun.com/bigwhite/hellomodule imports github.com/valyala/fasthttp: github.com/valyala/[email protected]: verifying module: missing GOSUMDB go: githun.com/bigwhite/hellomodule imports go.uber.org/zap: go.uber.org/[email protected]: verifying module: missing GOSUMDB D:\gopj>type go.mod module githun.com/bigwhite/hellomodule go 1.22.0 包似乎并没有下载成功
  错误原因:
  • Go 在尝试验证模块的有效性时无法连接到 Go's checksum database。
解决方案:
  • go env -w GONOSUMDB="*"

标签:uber,missing,valyala,GOSUMDB,module,go,com,bug,zap
From: https://www.cnblogs.com/YXBLOGXYY/p/18016604

相关文章