Versions in this module Expand all Collapse all v1 v1.0.0 Dec 18, 2024 Changes in this version + var ErrFieldNotPresent = errors.New("requested field does not exist") + var ErrMulitpleValues = errors.New("expected only one value to exist") + var ErrNoValue = errors.New("expected value to exist") + var ErrParseFailure = errors.New("could not parse value") + func Parse(r *http.Request, schema Schema) error + func ParseValues(data url.Values, schema Schema) error + type IntType interface + type Parser interface + Parse func([]string) error + func Bool(b *bool) Parser + func BoolOr(b *bool, alt bool) Parser + func Float(f *float64) Parser + func FloatOr(f *float64, alt float64) Parser + func IntOr[T IntType](i *T, alt T) Parser + func Int[T IntType](i *T) Parser + func Secret(s **conceal.Text) Parser + func StringOr[T StringType](s *T, alt T) Parser + func String[T StringType](s *T) Parser + type Schema map[string]Parser + type StringType interface