Documentation ¶
Index ¶
- func Bool(i any) (bool, error)
- func BoolDefault(i any, dv bool) bool
- func Decimal(v any) (d decimal.Decimal, err error)
- func DecimalDefault(v any, dv decimal.Decimal) decimal.Decimal
- func Duration(i any) (time.Duration, error)
- func DurationDefault(i any, dv time.Duration) time.Duration
- func Float32(i any) (float32, error)
- func Float32Default(i any, dv float32) float32
- func Float64(i any) (float64, error)
- func Float64Default(i any, dv float64) float64
- func Int(i any) (int, error)
- func Int16(i any) (int16, error)
- func Int16Default(i any, dv int16) int16
- func Int32(i any) (int32, error)
- func Int32Default(i any, dv int32) int32
- func Int64(i any) (int64, error)
- func Int64Default(i any, dv int64) int64
- func Int8(i any) (int8, error)
- func Int8Default(i any, dv int8) int8
- func IntDefault(i any, dv int) int
- func Map(i any) (map[string]any, error)
- func MapBool(i any) (map[string]bool, error)
- func MapBoolDefault(i any, dv map[string]bool) map[string]bool
- func MapDefault(i any, dv map[string]any) map[string]any
- func MapInt(i any) (map[string]int, error)
- func MapInt64(i any) (map[string]int64, error)
- func MapInt64Default(i any, dv map[string]int64) map[string]int64
- func MapIntDefault(i any, dv map[string]int) map[string]int
- func MapString(i any) (map[string]string, error)
- func MapStringDefault(i any, dv map[string]string) map[string]string
- func MapStringSlice(i any) (map[string][]string, error)
- func MapStringSliceDefault(i any, dv map[string][]string) map[string][]string
- func MustBool(i any) bool
- func MustDecimal(v any) decimal.Decimal
- func MustDuration(i any) time.Duration
- func MustFloat32(i any) float32
- func MustFloat64(i any) float64
- func MustInt(i any) int
- func MustInt16(i any) int16
- func MustInt32(i any) int32
- func MustInt64(i any) int64
- func MustInt8(i any) int8
- func MustMap(i any) map[string]any
- func MustMapBool(i any) map[string]bool
- func MustMapInt(i any) map[string]int
- func MustMapInt64(i any) map[string]int64
- func MustMapString(i any) map[string]string
- func MustMapStringSlice(i any) map[string][]string
- func MustSlice(i any) []any
- func MustSliceBool(i any) []bool
- func MustSliceDuration(i any) []time.Duration
- func MustSliceInt(i any) []int
- func MustSliceString(i any) []string
- func MustString(i any) string
- func MustTime(i any) time.Time
- func MustUint(i any) uint
- func MustUint16(i any) uint16
- func MustUint32(i any) uint32
- func MustUint64(i any) uint64
- func MustUint8(i any) uint8
- func Slice(i any) ([]any, error)
- func SliceBool(i any) ([]bool, error)
- func SliceBoolDefault(i any, dv []bool) []bool
- func SliceDefault(i any, dv []any) []any
- func SliceDuration(i any) ([]time.Duration, error)
- func SliceDurationDefault(i any, dv []time.Duration) []time.Duration
- func SliceInt(i any) ([]int, error)
- func SliceIntDefault(i any, dv []int) []int
- func SliceString(i any) ([]string, error)
- func SliceStringDefault(i any, dv []string) []string
- func String(i any) (string, error)
- func StringDefault(i any, dv string) string
- func Time(i any) (time.Time, error)
- func TimeDefault(i any, dv time.Time) time.Time
- func Uint(i any) (uint, error)
- func Uint16(i any) (uint16, error)
- func Uint16Default(i any, dv uint16) uint16
- func Uint32(i any) (uint32, error)
- func Uint32Default(i any, dv uint32) uint32
- func Uint64(i any) (uint64, error)
- func Uint64Default(i any, dv uint64) uint64
- func Uint8(i any) (uint8, error)
- func Uint8Default(i any, dv uint8) uint8
- func UintDefault(i any, dv uint) uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolDefault ¶
func Float32Default ¶
func Float64Default ¶
func Int16Default ¶
func Int32Default ¶
func Int64Default ¶
func Int8Default ¶
func IntDefault ¶
func MapStringSliceDefault ¶
func MustDecimal ¶
func MustDuration ¶
func MustFloat32 ¶
func MustFloat64 ¶
func MustMapBool ¶
func MustMapInt ¶
func MustMapInt64 ¶
func MustMapString ¶
func MustMapStringSlice ¶
func MustSliceBool ¶
func MustSliceDuration ¶
func MustSliceInt ¶
func MustSliceString ¶
func MustString ¶
func MustUint16 ¶
func MustUint32 ¶
func MustUint64 ¶
func SliceBoolDefault ¶
func SliceDefault ¶
func SliceIntDefault ¶
func SliceString ¶
func SliceStringDefault ¶
func StringDefault ¶
func Uint16Default ¶
func Uint32Default ¶
func Uint64Default ¶
func Uint8Default ¶
func UintDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.