In general, this project adheres to all the standard Go conventions, and is constantly on the look to make sure we have a uniform and coherent codebase.
Here are things that might be useful to clarify nonetheless:
- All
fmt.Errorf()ought to start with a lowercase letter, with:separating elements, from broadest to most refined.
- Logging is done through the
zaplibrary. All developer-centric logs ought to start with a lowercase, and provide sufficient context to aid in debugging. - Assume systems log at
Infolevel by default, enablingDebugwhen needed (at runtime through port :1065 <- logs, you read that l33t?). - Assume systems trigger some sort of alerting when
WarnandErrorlevel errors are triggered.