Documentation ¶
Index ¶
- Variables
- type Values
- func (r *Values) Bool(param string) (bool, error)
- func (r *Values) BoolOr(param string, def bool) bool
- func (r *Values) Int(param string) (int, error)
- func (r *Values) Int64(param string) (int64, error)
- func (r *Values) Int64Or(param string, def int64) int64
- func (r *Values) IntOr(param string, def int) int
- func (r *Values) Ints(param string) ([]int, error)
- func (r *Values) String(param string) (string, error)
- func (r *Values) StringOr(param, def string) string
- func (r *Values) Strings(param string) ([]string, error)
- func (r *Values) TimeOr(param string, def time.Time) time.Time
- func (r *Values) Times(param string) ([]time.Time, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingParam = errors.New("missing parameter") ErrInvalidParam = errors.New("invalid parameter") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.