gapic-generator-go
gapic-generator-go copied to clipboard
Format code with goimport prior to putting it in assembly target
We have a handful of diffs at the proto and gapic layer that are produced by running goimports on the code. It would be nice if we could run the tool in a starlark rule so that when code is copied by owlbot it is a much cleaner diff
https://github.com/googleapis/google-cloud-go/pull/7538/commits/34b55fcaa09ddd894b5ff27621d868e9cf4abe5f#diff-01bc0255a405f400a4b06195ac0925d1d62bd0e99f98dee773c1541ed1a8d725L25
We could also consider using go/format for gapic level code to reduce diffs in files like doc.go in the example above