Versions in this module Expand all Collapse all v9 v9.2.1 Apr 22, 2021 v9.2.0 Sep 1, 2020 Changes in this version + func Unmarshal(ctx context.Context, values url.Values, strct interface{}) error + type Field struct + Column string + Index []int + Name string + Op OpCode + Tag *tagparser.Tag + Type reflect.Type + func (f *Field) Omit(value reflect.Value) bool + func (f *Field) Value(strct reflect.Value) reflect.Value + type OpCode int + const OpEq + const OpGT + const OpGTE + const OpIEq + const OpLT + const OpLTE + const OpMatch + const OpNotEq + type Pager struct + Limit int + MaxLimit int + MaxOffset int + Offset int + func NewPager(values url.Values) *Pager + func (p *Pager) GetLimit() int + func (p *Pager) GetOffset() int + func (p *Pager) GetPage() int + func (p *Pager) SetPage(page int) + func (p *Pager) UnmarshalValues(ctx context.Context, values url.Values) error + type ParamUnmarshaler interface + UnmarshalParam func(ctx context.Context, name string, values []string) error + type StructInfo struct + Fields []*Field + TableName string + func DescribeStruct(typ reflect.Type) *StructInfo + func (s *StructInfo) Field(name string) *Field + type Unmarshaler interface + UnmarshalValues func(ctx context.Context, values url.Values) error + type Values url.Values + func (v Values) Bool(name string) (bool, error) + func (v Values) Duration(name string) (time.Duration, error) + func (v Values) Float64(name string) (float64, error) + func (v Values) Has(name string) bool + func (v Values) Int(name string) (int, error) + func (v Values) Int64(name string) (int64, error) + func (v Values) MaybeBool(name string) bool + func (v Values) MaybeDuration(name string) time.Duration + func (v Values) MaybeFloat64(name string) float64 + func (v Values) MaybeInt(name string) int + func (v Values) MaybeInt64(name string) int64 + func (v Values) MaybeTime(name string) time.Time + func (v Values) Pager() *Pager + func (v Values) SetDefault(name string, values ...string) + func (v Values) String(name string) string + func (v Values) Strings(name string) []string + func (v Values) Time(name string) (time.Time, error)