Versions in this module Expand all Collapse all v0 v0.1.2 Aug 5, 2026 v0.1.0 Aug 4, 2026 Changes in this version + type Guard struct + func New() *Guard + func (m *Guard) RegisterValidator(tag string, val customValidationFunction) + func (m *Guard) Validate(obj any) error + type InvalidInputError struct + Reason string + func (e *InvalidInputError) Error() string + type PathError struct + Path string + Reason string + func (e *PathError) Error() string + type TagParseError struct + Reason string + Tag string + func (e *TagParseError) Error() string + type TypeMismatchError struct + Actual string + Expected string + Field string + func (e *TypeMismatchError) Error() string + type ValidationError struct + FieldPath string + Reason string + Tag string + Value any + func (e *ValidationError) Error() string