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

Unable to import the library with envoyproxy path #728

Closed
jijosg opened this issue Nov 8, 2022 · 2 comments
Closed

Unable to import the library with envoyproxy path #728

jijosg opened this issue Nov 8, 2022 · 2 comments

Comments

@jijosg
Copy link

jijosg commented Nov 8, 2022

Hi ,

I am new to golang but the library always complains about go.mod referring to envoyproxy when running go get .
I was able to build the .pb.go files, but how do I use this to validate my protobuf message.
Thanks in advance.

go: github.com/bufbuild/protoc-gen-validate@v0.9.0: parsing go.mod:
        module declares its path as: github.com/envoyproxy/protoc-gen-validate
                but was required as: github.com/bufbuild/protoc-gen-validate

@elliotmjackson
Copy link
Contributor

elliotmjackson commented Nov 8, 2022

Sorry about that, a small find/replace error in our readme... my bad.

to install our latest version to your GOPATH you should try running go install github.com/envoyproxy/protoc-gen-validate@latest

Kindly let me know if this resolves your issue and i can close the ticket

@jijosg
Copy link
Author

jijosg commented Nov 8, 2022

Yeah I also figured it out eventually 👍 💯

@jijosg jijosg closed this as completed Nov 8, 2022
elliotmjackson added a commit that referenced this issue Nov 8, 2022
Highlighted by our wonderful community in #728, our readme was pointing
our gomodule to `/bufbuild/` this is incorrect.
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

2 participants