diff options
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -15,3 +15,13 @@ All custom packages are licensed under CC0-1.0. | - | - | | misc | Misc functions | | clog | Logging utilities | + +## Conventions + +The Lindenii project's Go style follows the standard Go style as produced by +[gofumpt](https://github.com/mvdan/gofumpt), except in identifier naming. + +* Types end with `_t`. +* Constants are `UPPER_SNAKE_CASE`. +* Variables and unexported functions and fields are `lower_snake_case` +* Exported functions and fields are `Capitalized_snake_case` |