protobuf-go/compiler
Oscar Söderlund 8525b20428 compiler/protogen: add (*GeneratedFile).Unskip
Simplifies some compiler plugins who want to avoid generating empty
files. With this API, generated files can be skipped by default, and
unskipped when actual code is generated.

Change-Id: I941c821646f5c4430a84e08bbad7e021434b1e71
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/232239
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2020-05-11 17:43:27 +00:00
..
protogen compiler/protogen: add (*GeneratedFile).Unskip 2020-05-11 17:43:27 +00:00