Documentation ¶
Index ¶
- Variables
- type Params
- func (p Params) Get(key string) (string, error)
- func (p Params) GetBool(key string) (bool, error)
- func (p Params) GetBoolList(key string) ([]bool, error)
- func (p Params) GetFirst(keys ...string) (string, error)
- func (p Params) GetFirstBool(keys ...string) (bool, error)
- func (p Params) GetFirstBoolList(keys ...string) ([]bool, error)
- func (p Params) GetFirstFloat(keys ...string) (float64, error)
- func (p Params) GetFirstFloatList(keys ...string) ([]float64, error)
- func (p Params) GetFirstID(keys ...string) (specid.ID, error)
- func (p Params) GetFirstIDList(keys ...string) ([]specid.ID, error)
- func (p Params) GetFirstInt(keys ...string) (int, error)
- func (p Params) GetFirstIntList(keys ...string) ([]int, error)
- func (p Params) GetFirstList(keys ...string) ([]string, error)
- func (p Params) GetFirstOr(or string, keys ...string) string
- func (p Params) GetFirstOrBool(or bool, keys ...string) bool
- func (p Params) GetFirstOrBoolList(or []bool, keys ...string) []bool
- func (p Params) GetFirstOrFloat(or float64, keys ...string) float64
- func (p Params) GetFirstOrFloatList(or []float64, keys ...string) []float64
- func (p Params) GetFirstOrID(or specid.ID, keys ...string) specid.ID
- func (p Params) GetFirstOrIDList(or []specid.ID, keys ...string) []specid.ID
- func (p Params) GetFirstOrInt(or int, keys ...string) int
- func (p Params) GetFirstOrIntList(or []int, keys ...string) []int
- func (p Params) GetFirstOrList(or []string, keys ...string) []string
- func (p Params) GetFirstOrTime(or time.Time, keys ...string) time.Time
- func (p Params) GetFirstTime(keys ...string) (time.Time, error)
- func (p Params) GetFloat(key string) (float64, error)
- func (p Params) GetFloatList(key string) ([]float64, error)
- func (p Params) GetID(key string) (specid.ID, error)
- func (p Params) GetIDList(key string) ([]specid.ID, error)
- func (p Params) GetInt(key string) (int, error)
- func (p Params) GetIntList(key string) ([]int, error)
- func (p Params) GetList(key string) ([]string, error)
- func (p Params) GetOr(key string, or string) string
- func (p Params) GetOrBool(key string, or bool) bool
- func (p Params) GetOrBoolList(key string, or []bool) []bool
- func (p Params) GetOrFloat(key string, or float64) float64
- func (p Params) GetOrFloatList(key string, or []float64) []float64
- func (p Params) GetOrID(key string, or specid.ID) specid.ID
- func (p Params) GetOrIDList(key string, or []specid.ID) []specid.ID
- func (p Params) GetOrInt(key string, or int) int
- func (p Params) GetOrIntList(key string, or []int) []int
- func (p Params) GetOrList(key string, or []string) []string
- func (p Params) GetOrTime(key string, or time.Time) time.Time
- func (p Params) GetTime(key string) (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoValues = errors.New("no values provided")
Functions ¶
This section is empty.
Types ¶
type Params ¶
func (Params) GetFirstFloatList ¶
func (Params) GetFirstOrBoolList ¶
func (Params) GetFirstOrFloatList ¶
func (Params) GetFirstOrIDList ¶
func (Params) GetFirstOrTime ¶
Click to show internal directories.
Click to hide internal directories.