aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 4a95bc9afe5d43cd53b99437f6eec38626ab4229 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Common Go libraries for Lindenii projects

## Warning

Currently this only works on Linux because we use Linux-specific system calls.
This needs to be addressed in the future.

## Ported/forked packages

| Name | Description                   | Origin   | License      |
| -    | -                             | -        | -            |
| scfg | Configuration parsing library | emersion | MIT          |
| cmap | Generic concurrent maps       | Go       | BSD-3-Clause |

## Custom packages

All custom packages are licensed under CC0-1.0.

| Name | Description       |
| -    | -                 |
| 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`