An idiomatic Go validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
MIT License
81
stars
5
forks
source link
Refactor to use time.DateOnly; enable usestdlibvars #10
The PR replaces usages of
"2006-01-02"
withtime.DateOnly
. The constanttime.DateOnly
is available in Go 1.20.This has been found with the help of
usestdlibvars
linter.