Skip to content
Snippets Groups Projects

Add Go guidelines to developer docs

Merged Philippe Lafoucrière requested to merge docs/go-standards into master
All threads resolved!
@@ -25,8 +25,8 @@ We follow the common principles of
Reviewers and maintainers should pay attention to:
- `defer` functions: ensure the presence when needed, and after `err` check.
- Inject dependencies as parameters
- Void structs when marshalling to JSON (generates `null` instead of `[]`)
- Inject dependencies as parameters.
- Void structs when marshalling to JSON (generates `null` instead of `[]`).
### Security
Loading