From 1e59c661c7b56fa297ce6d95623f0b4ec711d77f Mon Sep 17 00:00:00 2001 From: mstar Date: Mon, 31 Mar 2025 16:42:32 +0200 Subject: [PATCH] Update code style policy for Go code --- Code-Style.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Code-Style.md b/Code-Style.md index d58dca1..344e2a8 100644 --- a/Code-Style.md +++ b/Code-Style.md @@ -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