Documentation
¶
Index ¶
- func AsBool(v interface{}) (bool, bool)
- func AsBoolArray(values ...interface{}) ([]bool, bool)
- func AsDatetime(v interface{}, format ...string) (time.Time, bool)
- func AsDatetimeArray(values ...interface{}) ([]time.Time, bool)
- func AsDuration(v interface{}) (time.Duration, bool)
- func AsDurationArray(values ...interface{}) ([]time.Duration, bool)
- func AsFloat(v interface{}) (float64, bool)
- func AsFloatArray(values ...interface{}) ([]float64, bool)
- func AsInt(v interface{}) (int64, bool)
- func AsIntArray(values ...interface{}) ([]int64, bool)
- func AsString(v interface{}) (string, bool)
- func AsStringArray(values ...interface{}) ([]string, bool)
- func AsUint(v interface{}) (uint64, bool)
- func AsUintArray(values ...interface{}) ([]uint64, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsBoolArray ¶
AsBoolArray to convert as an array of bool
func AsDatetime ¶
AsDatetime to convert as datetime (time.Time)
func AsDatetimeArray ¶
AsDatetimeArray to convert as an array of datetime
func AsDuration ¶ added in v1.0.1
AsDuration to convert as a duration
func AsDurationArray ¶ added in v1.0.1
AsDurationArray to convert as an array of duration
func AsFloatArray ¶
AsFloatArray to convert as an array of float64
func AsIntArray ¶
AsIntArray to convert as an array of int64
func AsStringArray ¶
AsStringArray to convert as an array of string
func AsUintArray ¶ added in v1.1.0
AsUintArray to convert as an array of uint64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.

