Update code style policy for Go code
This commit is contained in:
parent
a9af73b557
commit
1e59c661c7
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@
|
||||||
use `hlog.FromRequest` to get a logger instance prepared with a bunch of metadata
|
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,
|
- As Linstrom is both intended for active use as well as providing a learning resource,
|
||||||
all functions and structs must be documented
|
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
|
## JS/TS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue