Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `-s` flag was added to the gofmt githook with the intention of making the code a little more readable and concise. The most frequently affected code includes struct literals which don't require the fields to be explicitly named. Unfortunately, the latest version of proto gen disallows this, as it interferes with backwards compatibility. As a result, protobuf messages must explicitly name all fields in its struct literals. Rather than have some structs which appear that they can omit field names but don't, and others that do, let's keep things consistent. This change removes the `-s` flag from the githook. Signed-off-by: Evan Gilman <[email protected]>
- Loading branch information