github.com/gogo/protobu: invalid pseudo-version: revision is shorter than canonical

        编译执行go mod tidy时,出现了这个错误,挺恶心的:git

        xxx  requires
        github.com/micro/go-plugins@v1.3.0 requires
        k8s.io/api@v0.0.0-20190726022912-69e1bce1dad5 requires
        github.com/gogo/protobuf@v0.0.0-20190410021324-65acae22fc9: invalid pseudo-version: revision is shorter than canonical


github

 

        搞了大半天,终于找到缘由:golang

        https://github.com/golang/go/issues/3439api

 

        解决办法,在go.mod中加:ui

replace github.com/gogo/protobuf v0.0.0-20190410021324-65acae22fc9 => github.com/gogo/protobuf v0.0.0-20190723190241-65acae22fc9dblog

       搞定。get

相关文章
相关标签/搜索