We would encourage you to read our general contribution guidelines at primecitizens/pcz (if you haven't done so).
No additional rules to this repository, but here are some extra help when doing code contribution:
To keep this project maintainable by peasants like us, we created this checklist:
- Limit package imports. (not applicable to testings)
- No external modules other than the standard library.
- No
fmtand any packages depending onfmt. - Only import
reflectin*_reflect.go.
- Ensure VP implementations in
vp_generic.goare always zero size. - Ensure minimum data escape to heap.
- Allow necessary and zero-size data to escape.
- Run
go build -gcflags '-m -l' ./in the module root to check unnecessary escapes.
- When updating completion scripts (
scripts/*), follow the checklist for completion scripts - Documentation
- Run
pkgsiteto inspect examples and comments (to install, rungo install golang.org/x/pkgsite/cmd/pkgsite@latest)
- Run