veracruz-project / go-nitro-enclave-attestation-document

Golang module for decoding and verifying AWS Nitro enclave attestation documents
Other
4 stars 1 forks source link

go typographic conventions #8

Open thomas-fossati opened 1 year ago

thomas-fossati commented 1 year ago

https://go.dev/doc/effective_go provides a number of conventions that tend to be used (and expected by) the Go community. It looks like this very nice and useful package may use some of that collected wisdom to make itself even more ergonomic and palatable to the Go crowd :-)

For example:

A lot of this tedious stuff is normally flagged by the linter. So, adding a linting step to the CI pipeline usually helps a lot with keeping consistency.

I'd be happy to help with the "apply conventions" pass if you want.