Versions in this module Expand all Collapse all v2 v2.4.3 Oct 9, 2024 v2.4.2 Sep 18, 2024 Changes in this version + func ExtractType(current reflect.Value) (reflect.Value, reflect.Kind) + type AnonymousMode uint8 + const AnonymousEmbed + const AnonymousSeparate + type DecodeCustomTypeFunc func([]string) (interface{}, error) + type DecodeErrors map[string]error + func (d DecodeErrors) Error() string + type Decoder struct + func NewDecoder() *Decoder + func (d *Decoder) Decode(v interface{}, values url.Values) (err error) + func (d *Decoder) RegisterCustomTypeFunc(fn DecodeCustomTypeFunc, types ...interface{}) + func (d *Decoder) RegisterTagNameFunc(fn TagNameFunc) + func (d *Decoder) SetMaxArraySize(size uint) + func (d *Decoder) SetMode(mode Mode) + func (d *Decoder) SetNamespacePrefix(namespacePrefix string) + func (d *Decoder) SetNamespaceSuffix(namespaceSuffix string) + func (d *Decoder) SetTagName(tagName string) + type EncodeCustomTypeFunc func(x interface{}) ([]string, error) + type EncodeErrors map[string]error + func (e EncodeErrors) Error() string + type Encoder struct + func NewEncoder() *Encoder + func (e *Encoder) Encode(v interface{}) (values url.Values, err error) + func (e *Encoder) RegisterCustomTypeFunc(fn EncodeCustomTypeFunc, types ...interface{}) + func (e *Encoder) RegisterTagNameFunc(fn TagNameFunc) + func (e *Encoder) SetAnonymousMode(mode AnonymousMode) + func (e *Encoder) SetMode(mode Mode) + func (e *Encoder) SetNamespacePrefix(namespacePrefix string) + func (e *Encoder) SetNamespaceSuffix(namespaceSuffix string) + func (e *Encoder) SetTagName(tagName string) + type InvalidDecoderError struct + Type reflect.Type + func (e *InvalidDecoderError) Error() string + type InvalidEncodeError struct + Type reflect.Type + func (e *InvalidEncodeError) Error() string + type Mode uint8 + const ModeExplicit + const ModeImplicit + type TagNameFunc func(field reflect.StructField) string