An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
Coverage decreased (-1.5%) to 98.507% when pulling 8f7ce370a3aa22eb17fd625840c224e48c930fc1 on sgleizes:feature/add-range-rule into c5ea90fdc3a21aeec875ed51605cada9a9be2b26 on go-ozzo:master.
Coverage remained the same at 100.0% when pulling a70fb0055d60cdd84633bbd07b632e32aab50b93 on sgleizes:feature/add-range-rule into c5ea90fdc3a21aeec875ed51605cada9a9be2b26 on go-ozzo:master.
The Range rule is used to validate that numeric values are within a given range.
This simple implementation supports int, uint and float types and indirects initial value to support for pointers, interfaces, ...