Documentation
¶
Index ¶
- func AsBool(v interface{}) (bool, bool)
- func AsBoolSlice(values ...interface{}) ([]bool, bool)
- func AsDuration(v interface{}) (time.Duration, bool)
- func AsDurationSlice(values ...interface{}) ([]time.Duration, bool)
- func AsFloat32(v interface{}) (float32, bool)
- func AsFloat32Slice(values ...interface{}) ([]float32, bool)
- func AsFloat64(v interface{}) (float64, bool)
- func AsFloat64Slice(values ...interface{}) ([]float64, bool)
- func AsInt(v interface{}) (int, bool)
- func AsInt8(v interface{}) (int8, bool)
- func AsInt8Slice(values ...interface{}) ([]int8, bool)
- func AsInt16(v interface{}) (int16, bool)
- func AsInt16Slice(values ...interface{}) ([]int16, bool)
- func AsInt32(v interface{}) (int32, bool)
- func AsInt32Slice(values ...interface{}) ([]int32, bool)
- func AsInt64(v interface{}) (int64, bool)
- func AsInt64Slice(values ...interface{}) ([]int64, bool)
- func AsIntSlice(values ...interface{}) ([]int, bool)
- func AsString(v interface{}) (string, bool)
- func AsStringSlice(values ...interface{}) ([]string, bool)
- func AsTime(v interface{}, format ...string) (time.Time, bool)
- func AsTimeSlice(values ...interface{}) ([]time.Time, bool)
- func AsUint(v interface{}) (uint, bool)
- func AsUint8(v interface{}) (uint8, bool)
- func AsUint8Slice(values ...interface{}) ([]uint8, bool)
- func AsUint16(v interface{}) (uint16, bool)
- func AsUint16Slice(values ...interface{}) ([]uint16, bool)
- func AsUint32(v interface{}) (uint32, bool)
- func AsUint32Slice(values ...interface{}) ([]uint32, bool)
- func AsUint64(v interface{}) (uint64, bool)
- func AsUint64Slice(values ...interface{}) ([]uint64, bool)
- func AsUintSlice(values ...interface{}) ([]uint, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsBoolSlice ¶ added in v1.2.0
AsBoolSlice to convert as a slice of bool
func AsDuration ¶ added in v1.0.1
AsDuration to convert as a duration
func AsDurationSlice ¶ added in v1.2.0
AsDurationSlice to convert as a slice of duration
func AsFloat32Slice ¶ added in v1.2.0
AsFloat32Slice to convert as a slice of float32
func AsFloat64Slice ¶ added in v1.2.0
AsFloat64Slice to convert as a slice of float64
func AsInt8Slice ¶ added in v1.2.0
AsInt8Slice to convert as a slice of int8
func AsInt16Slice ¶ added in v1.2.0
AsInt16Slice to convert as a slice of int16
func AsInt32Slice ¶ added in v1.2.0
AsInt32Slice to convert as a slice of int32
func AsInt64Slice ¶ added in v1.2.0
AsInt64Slice to convert as a slice of int64
func AsIntSlice ¶ added in v1.2.0
AsIntSlice to convert as a slice of int
func AsStringSlice ¶ added in v1.2.0
AsStringSlice to convert as a slice of string
func AsTime ¶ added in v1.2.0
AsTime to convert as time.Time You can pass golang format for a string conversion
func AsTimeSlice ¶ added in v1.2.0
AsTimeSlice to convert as a slice of time
func AsUint8Slice ¶ added in v1.2.0
AsUint8Slice to convert as a slice of uint8
func AsUint16Slice ¶ added in v1.2.0
AsUint16Slice to convert as a slice of uint16
func AsUint32Slice ¶ added in v1.2.0
AsUint32Slice to convert as a slice of uint32
func AsUint64Slice ¶ added in v1.2.0
AsUint64Slice to convert as a slice of uint64
func AsUintSlice ¶ added in v1.2.0
AsUintSlice to convert as a slice of uint
Types ¶
This section is empty.

