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 70 forks source link

Concatenate if file already exist #44

Closed gfanton closed 7 years ago

gfanton commented 7 years ago

For the moment, if protoc try to write on the same file it will produce an error. This will allow to concat the file instead.

gfanton commented 7 years ago

Should i make this as an arguments? like concat=true

zoontek commented 7 years ago

LGTM 👍

moul commented 7 years ago

LGTM