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
project structure:
shop/v1/shop.proto:
shop/v1/service/shop.proto:
protoc cmd:
protoc --proto_path=. \ --proto_path=./third_party \ --go_out=paths=source_relative:. \ --gorm_out=paths=source_relative:. \ --validate_out=paths=source_relative,lang=go:. \ --go-http_out=paths=source_relative:. \ --go-grpc_out=paths=source_relative:. \ --openapiv2_out . \ --openapiv2_opt logtostderr=true \ --openapiv2_opt json_names_for_fields=false \ $(shell find api/shop -name *.proto)
will get this errors:
protoc-gen-gogo: error:inconsistent package import paths: "my.example-domain.com/api/shop/v1", "my.example-domain.com/api/shop/v1/service" --gorm_out: protoc-gen-gorm: Plugin failed with status code 1.
if delete --gorm_out=paths=source_relative:. \ this line in protoc cmd. it will works fine.
--gorm_out=paths=source_relative:. \
The text was updated successfully, but these errors were encountered:
No branches or pull requests
project structure:
shop/v1/shop.proto:
shop/v1/service/shop.proto:
protoc cmd:
will get this errors:
if delete
--gorm_out=paths=source_relative:. \
this line in protoc cmd. it will works fine.The text was updated successfully, but these errors were encountered: