Documentation
¶
Index ¶
- func Unmarshal(ctx context.Context, values url.Values, strct interface{}) error
- type Field
- type OpCode
- type Pager
- type ParamUnmarshaler
- type StructInfo
- type Unmarshaler
- type 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
type Pager ¶
type ParamUnmarshaler ¶
type StructInfo ¶
type StructInfo struct { TableName string Fields []*Field // contains filtered or unexported fields }
func DescribeStruct ¶
func DescribeStruct(typ reflect.Type) *StructInfo
func (*StructInfo) Field ¶
func (s *StructInfo) Field(name string) *Field
type Unmarshaler ¶
Click to show internal directories.
Click to hide internal directories.