HN CompanionHN Companion new | best | ask | show | jobs
Show HN: govalid – Go validation without reflection (5-44x faster) (github.com/sivchari)
2 points by sivchari 18 hours ago | discuss
I got frustrated with runtime reflection in Go validators, so I built a codegen approach instead. govalid reads struct markers and generates plain Go validation code. No reflection, no allocations at runtime, 5-44x faster than go-playground/validator. Also supports CEL for complex rules. Feedback welcome :)


No comments yet.