Advertisement

Go:如何解决模块校验错误

阅读量:
1. 问题描述

在 Go 开发中,在下载依赖时(例如通过命令 go mod tidygo get 等),可能会遇到以下错误提示:

复制代码
    go: downloading github.com/google/flatbuffers v1.12.0
    verifying github.com/google/flatbuffers@v1.12.0: checksum mismatch
        downloaded: h1:N8EguYFm2wwdpoNcpchQY0tPs85vOJkboFb2dPxmixo=
        go.sum:     h1:/PtAHvnBY4Kqnx/xCQ3OIV9uYcSFGScBsWI3Oogeh6w=
    
    SECURITY ERROR
    This download does NOT match an earlier download recorded in go.sum.
    The bits may have been replaced on the origin server, or an attacker may
    have intercepted the download attempt.
    
    For more information, se

全部评论 (0)

还没有任何评论哟~