We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We are running into following error when trying to configure.
can't load package: package github.com/protocolbuffers/protobuf: unknown import path "github.com/protocolbuffers/protobuf": cannot find module providing package github.com/protocolbuffers/protobuf
go list -f '{{ .Dir }}' -m github.com/protocolbuffers/protobuf $GOPATH/pkg/mod/github.com/protocolbuffers/protobuf@v3.10.1+incompatible
The text was updated successfully, but these errors were encountered:
Was able to go past errors, looks like have to add to proto_path and during import use relative path. Maybe add to documentation?
protoc --proto_path="./" --proto_path=`go list -f '{{ .Dir }}' -m github.com/mwitkow/go-proto-validators` --proto_path=`go list -f '{{ .Dir }}' -m github.com/protocolbuffers/protobuf` --govalidators_out=../.gen --go_out=plugins=grpc:../.gen *.proto
in your project .proto file doe import "validator.proto";
import "validator.proto";
Sorry, something went wrong.
Why you use github.com/protocolbuffers/protobuf instead of github.com/golang/protobuf ?
hello,i tried it, but got code like
import ( _ "." ... )
No branches or pull requests
We are running into following error when trying to configure.
can't load package: package github.com/protocolbuffers/protobuf: unknown import path "github.com/protocolbuffers/protobuf": cannot find module providing package github.com/protocolbuffers/protobuf
The text was updated successfully, but these errors were encountered: