小编yan*_*wan的帖子

go mod供应商不应该有@version错误

升级到go v1.18.1后,go mod vendor返回一堆错误:

$ go mod vendor
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/davecgh/go-spew@v1.1.1/spew: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/davecgh/go-spew@v1.1.1/spew" should not have @version
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/dustin/go-humanize@v1.0.0: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/dustin/go-humanize@v1.0.0" should not have @version
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/dustin/go-humanize@v1.0.0/english: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/dustin/go-humanize@v1.0.0/english" should not have @version
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/eknkc/amber@v0.0.0-20171010120322-cdade1c07385: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/eknkc/amber@v0.0.0-20171010120322-cdade1c07385" should not have @version
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/eknkc/amber@v0.0.0-20171010120322-cdade1c07385/amberc: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/eknkc/amber@v0.0.0-20171010120322-cdade1c07385/amberc" should not have @version
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/eknkc/amber@v0.0.0-20171010120322-cdade1c07385/parser: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/eknkc/amber@v0.0.0-20171010120322-cdade1c07385/parser" should not have @version
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/jmespath/go-jmespath@v0.0.0-20180206201540-c2b33e8439af: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/jmespath/go-jmespath@v0.0.0-20180206201540-c2b33e8439af" should not have @version
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/jmespath/go-jmespath@v0.0.0-20180206201540-c2b33e8439af/cmd/jpgo: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/jmespath/go-jmespath@v0.0.0-20180206201540-c2b33e8439af/cmd/jpgo" should not have @version
bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/jmespath/go-jmespath@v0.0.0-20180206201540-c2b33e8439af/fuzz: import path "bitbucket.org/jigspace/jigpipeline/lib/go/pkg/mod/github.com/jmespath/go-jmespath@v0.0.0-20180206201540-c2b33e8439af/fuzz" should not …
Run Code Online (Sandbox Code Playgroud)

go

8
推荐指数
1
解决办法
4181
查看次数

标签 统计

go ×1