moul / protoc-gen-gotemplate

:open_file_folder: generic protocol generator based on golang's text/template (grpc/protobuf)
https://manfred.life/protoc-gen-gotemplate
MIT License
438 stars 68 forks source link

Add helper to detect if a field has label "repeated" #32

Closed vgheri closed 7 years ago

vgheri commented 7 years ago

Useful for example for logging because we need to know we must iterate over the field values.