Versions in this module Expand all Collapse all v0 v0.2.1 Mar 21, 2024 v0.2.0 Apr 2, 2022 Changes in this version + func After(name string, t, after time.Time) error + func Before(name string, t, before time.Time) error v0.1.0 Mar 31, 2022 Changes in this version + func All(vs ...Validatable) error + type Max struct + Max T + Value T + func (s Max[T]) Error() string + func (s Max[T]) Validate() error + type Min struct + Min T + Value T + func (s Min[T]) Error() string + func (s Min[T]) Validate() error + type MinMax struct + Max T + Min T + Value T + func (s MinMax[T]) Validate() error + type OneOf struct + Value T + Values []T + func (s OneOf[T]) Error() string + func (s OneOf[T]) Validate() error + type Validatable interface + Validate func() error + type ValidationError struct + Errors []error + func (e ValidationError) Error() string