You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to fix some tiny issue we have with using confluen-kafka-go with bazel, and I need to touch .proto files for that. Now, I don't know how to generate the .pb.go files correctly. Am I suppossed to just run protoc --go_out=. --go_opt=paths=source_relative <file>.proto in the proto directories, or is there a build script somewhere? I was looking for a //go:generate directive for protoc, but I couldn't find any.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody!
I'm trying to fix some tiny issue we have with using confluen-kafka-go with bazel, and I need to touch .proto files for that. Now, I don't know how to generate the .pb.go files correctly. Am I suppossed to just run
protoc --go_out=. --go_opt=paths=source_relative <file>.proto
in the proto directories, or is there a build script somewhere? I was looking for a//go:generate
directive for protoc, but I couldn't find any.Thanks a lot!
--asig
Beta Was this translation helpful? Give feedback.
All reactions