apache / dubbo-go

Go Implementation For Apache Dubbo .
https://dubbo.apache.org/
Apache License 2.0
4.67k stars 910 forks source link

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

Open 2456868764 opened 3 months ago

2456868764 commented 3 months ago

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. ```