Documentation
¶
Index ¶
- func GetBool(val interface{}) (b bool, ok bool)
- func GetDuration(val interface{}) (d time.Duration, ok bool)
- func GetFloat64(val interface{}) (f64 float64, ok bool)
- func GetInt(val interface{}) (i int, ok bool)
- func GetInt64(val interface{}) (i64 int64, ok bool)
- func GetString(val interface{}) (s string, ok bool)
- func GetTime(val interface{}) (t time.Time, ok bool)
- func GetUint(val interface{}) (ui uint, ok bool)
- func GetUint64(val interface{}) (ui64 uint64, ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDuration ¶
GetDuration returns the value associated with the key as a duration.
func GetFloat64 ¶
GetFloat64 returns the value associated with the key as a float64.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.