Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambiguous import error #530

Open
rgacraig opened this issue Mar 14, 2024 · 0 comments
Open

Ambiguous import error #530

rgacraig opened this issue Mar 14, 2024 · 0 comments

Comments

@rgacraig
Copy link

go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc

go: downloading github.com/pseudomuto/protoc-gen-doc v1.5.1
go: downloading google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/pseudomuto/protokit v0.2.1
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/envoyproxy/protoc-gen-validate v1.0.4
go: downloading github.com/google/uuid v1.1.2
go: downloading github.com/huandu/xstrings v1.4.0
go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/imdario/mergo v1.0.0
go: downloading golang.org/x/crypto v0.21.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7
go: downloading google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7
go: downloading github.com/imdario/mergo v0.3.16
github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc imports
github.com/pseudomuto/protoc-gen-doc/extensions/google_api_http imports
google.golang.org/genproto/googleapis/api/annotations: ambiguous import: found package google.golang.org/genproto/googleapis/api/annotations in multiple modules:
google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4 (/home/rcraig/go/pkg/mod/google.golang.org/genproto@v0.0.0-20210917145530-b395a37504d4/googleapis/api/annotations)
google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 (/home/rcraig/go/pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20240311173647-c811ad7063a7/annotations)

As per the genproto versioning needs to be updated from v0.0.0-20210917145530-b395a37504d4 to the latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant