Versions in this module Expand all Collapse all v1 v1.23.1 Aug 17, 2026 v1.23.0 Aug 17, 2026 v1.22.0 Aug 17, 2026 Changes in this version + type Function func(T) error + func (f Function[T]) Validate(input T) error + type Validator interface + Validate func(T) error + func New[T any](f func(T) error) Validator[T]