Documentation ¶
Index ¶
- type ErrorKeyIsNotExist
- type Queries
- func (f Queries) Bool(key string) (bool, error)
- func (f Queries) Escape(key string) (string, error)
- func (f Queries) Float32(key string) (float32, error)
- func (f Queries) Float64(key string) (float64, error)
- func (f Queries) Int(key string) (int, error)
- func (f Queries) Int32(key string) (int32, error)
- func (f Queries) Int64(key string) (int64, error)
- func (f Queries) MustBool(key string, defaults ...bool) bool
- func (f Queries) MustEscape(key string, defaults ...string) string
- func (f Queries) MustFloat32(key string, defaults ...float32) float32
- func (f Queries) MustFloat64(key string, defaults ...float64) float64
- func (f Queries) MustInt(key string, defaults ...int) int
- func (f Queries) MustInt32(key string, defaults ...int32) int32
- func (f Queries) MustInt64(key string, defaults ...int64) int64
- func (f Queries) MustString(key string, defaults ...string) string
- func (f Queries) MustStrings(key string, defaults ...[]string) []string
- func (f Queries) MustUint(key string, defaults ...uint) uint
- func (f Queries) MustUint32(key string, defaults ...uint32) uint32
- func (f Queries) MustUint64(key string, defaults ...uint64) uint64
- func (f Queries) String(key string) (string, error)
- func (f Queries) Strings(key string) ([]string, error)
- func (f Queries) Uint(key string) (uint, error)
- func (f Queries) Uint32(key string) (uint32, error)
- func (f Queries) Uint64(key string) (uint64, error)
- func (f Queries) Values() url.Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorKeyIsNotExist ¶
type ErrorKeyIsNotExist struct {
Key string
}
ErrorKeyIsNotExist represents an error with no key exist
func (ErrorKeyIsNotExist) Error ¶
func (e ErrorKeyIsNotExist) Error() string
type Queries ¶
Queries a new enhancement of http.Request
func (Queries) MustEscape ¶
MustEscape returns request form as escaped string with default
func (Queries) MustFloat32 ¶
MustFloat32 returns request form as float32 with default
func (Queries) MustFloat64 ¶
MustFloat64 returns request form as float64 with default
func (Queries) MustString ¶
MustString returns request form as string with default
func (Queries) MustStrings ¶
MustStrings returns request form as strings with default
func (Queries) MustUint32 ¶
MustUint32 returns request form as uint32 with default
func (Queries) MustUint64 ¶
MustUint64 returns request form as uint64 with default
Click to show internal directories.
Click to hide internal directories.