Lindenii Project Forge
Login

go-lindenii-common

Common library for the Lindenii Project
Commit info
ID
a3640b47317b8f7c9655580544abe20b5794ab16
Author
Runxi Yu <me@runxiyu.org>
Author date
Thu, 20 Feb 2025 10:41:48 +0800
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Thu, 20 Feb 2025 10:41:48 +0800
Actions
README.md: Add ansiec
# 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 |
| Name   | Description       |
| -      | -                 |
| misc   | Misc functions    |
| clog   | Logging utilities |
| ansiec | ANSI escape codes |

## 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`