Versions in this module Expand all Collapse all v1 v1.1.0 Nov 6, 2026 v1.0.0 Nov 6, 2026 Changes in this version + func ApplicationError(err error) *app.AppError + func DecodeJSON(w http.ResponseWriter, r *http.Request, dst any, maxBytes int64) error + func Struct(v any) error + type Errors []FieldError + func (e Errors) Error() string + type FieldError struct + Field string + Message string + Rule string + type Validator struct + Rules map[string]func(any) bool + func (v Validator) Struct(x any) error