Update code style policy for Go code

This commit is contained in:
Melody Becker 2025-03-31 16:42:32 +02:00
parent a9af73b557
commit 1e59c661c7
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI

View file

@ -13,6 +13,8 @@
use `hlog.FromRequest` to get a logger instance prepared with a bunch of metadata
- As Linstrom is both intended for active use as well as providing a learning resource,
all functions and structs must be documented
- Errors returned from public functions must be wrapped with `git.mstar.dev/mstar/goutils/other.Error`
and given appropriate descriptive information
## JS/TS