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

can't go build on protoc-gen-go-triple #2649

Open
2456868764 opened this issue Apr 1, 2024 · 0 comments
Open

can't go build on protoc-gen-go-triple #2649

2456868764 opened this issue Apr 1, 2024 · 0 comments

Comments

@2456868764
Copy link

2456868764 commented Apr 1, 2024

Environment

when I run "go build“ under /cmd/protoc-gen-go-triple , it will get error as bellow

# github.com/golang/protobuf/protoc-gen-go/descriptor
/Users/jun/go/pkg/mod/github.com/golang/protobuf@v1.5.3/protoc-gen-go/descriptor/descriptor.pb.go:106:61: undefined: descriptorpb.Default_FileOptions_PhpGenericServices

my protoc --version is "libprotoc 3.17.3"

and then i bump github.com/golang/protobuf to 1.5.4 which is latest verison, and then pass build. After that i run

protoc --go_out=. --go_opt=paths=source_relative --go-triple_out=. greet.proto

and i found that it only generated greet.pb.go file and missed greet.triple.go file

Issue description

Logs

Click me to check logs
Copy logs to here.
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