typeUtils

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustToBool

func MustToBool(value interface{}) bool

func MustToBoolArray added in v1.0.7

func MustToBoolArray(value interface{}) []bool

func MustToByte

func MustToByte(value interface{}) byte

func MustToByteArray

func MustToByteArray(value interface{}) []byte

func MustToComplex128

func MustToComplex128(value interface{}) complex128

func MustToComplex128Array added in v1.0.7

func MustToComplex128Array(value interface{}) []complex128

func MustToComplex64

func MustToComplex64(value interface{}) complex64

func MustToComplex64Array added in v1.0.7

func MustToComplex64Array(value interface{}) []complex64

func MustToFloat32

func MustToFloat32(value interface{}) float32

func MustToFloat32Array added in v1.0.7

func MustToFloat32Array(value interface{}) []float32

func MustToFloat64

func MustToFloat64(value interface{}) float64

func MustToFloat64Array added in v1.0.7

func MustToFloat64Array(value interface{}) []float64

func MustToInt

func MustToInt(value interface{}) int

func MustToInt16

func MustToInt16(value interface{}) int16

func MustToInt16Array added in v1.0.7

func MustToInt16Array(value interface{}) []int16

func MustToInt32

func MustToInt32(value interface{}) int32

func MustToInt32Array added in v1.0.7

func MustToInt32Array(value interface{}) []int32

func MustToInt64

func MustToInt64(value interface{}) int64

func MustToInt64Array added in v1.0.7

func MustToInt64Array(value interface{}) []int64

func MustToInt8

func MustToInt8(value interface{}) int8

func MustToInt8Array added in v1.0.7

func MustToInt8Array(value interface{}) []int8

func MustToIntArray added in v1.0.7

func MustToIntArray(value interface{}) []int

func MustToMap

func MustToMap(value interface{}) map[string]interface{}

func MustToMapArray added in v1.0.7

func MustToMapArray(value interface{}) []map[string]interface{}

func MustToRune

func MustToRune(value interface{}) rune

func MustToRuneArray added in v1.0.7

func MustToRuneArray(value interface{}) []rune

func MustToString

func MustToString(value interface{}) string

func MustToStringArray added in v1.0.7

func MustToStringArray(value interface{}) []string

func MustToTime

func MustToTime(value interface{}) time.Time

func MustToTimeArray added in v1.0.7

func MustToTimeArray(value interface{}) []time.Time

func MustToUint

func MustToUint(value interface{}) uint

func MustToUint16

func MustToUint16(value interface{}) uint16

func MustToUint16Array added in v1.0.7

func MustToUint16Array(value interface{}) []uint16

func MustToUint32

func MustToUint32(value interface{}) uint32

func MustToUint32Array added in v1.0.7

func MustToUint32Array(value interface{}) []uint32

func MustToUint64

func MustToUint64(value interface{}) uint64

func MustToUint64Array added in v1.0.7

func MustToUint64Array(value interface{}) []uint64

func MustToUint8

func MustToUint8(value interface{}) uint8

func MustToUint8Array added in v1.0.7

func MustToUint8Array(value interface{}) []uint8

func MustToUintArray added in v1.0.7

func MustToUintArray(value interface{}) []uint

func MustToUintptr

func MustToUintptr(value interface{}) uintptr

func MustToUintptrArray added in v1.0.7

func MustToUintptrArray(value interface{}) []uintptr

func ToBool

func ToBool(value interface{}, defaultValue bool) bool

func ToBoolArray added in v1.0.7

func ToBoolArray(value interface{}, defaultValue []bool) []bool

func ToByte

func ToByte(value interface{}, defaultValue byte) byte

func ToByteArray

func ToByteArray(value interface{}, defaultValue []byte) []byte

func ToComplex128

func ToComplex128(value interface{}, defaultValue complex128) complex128

func ToComplex128Array added in v1.0.7

func ToComplex128Array(value interface{}, defaultValue []complex128) []complex128

func ToComplex64

func ToComplex64(value interface{}, defaultValue complex64) complex64

func ToComplex64Array added in v1.0.7

func ToComplex64Array(value interface{}, defaultValue []complex64) []complex64

func ToFloat32

func ToFloat32(value interface{}, defaultValue float32) float32

func ToFloat32Array added in v1.0.7

func ToFloat32Array(value interface{}, defaultValue []float32) []float32

func ToFloat64

func ToFloat64(value interface{}, defaultValue float64) float64

func ToFloat64Array added in v1.0.7

func ToFloat64Array(value interface{}, defaultValue []float64) []float64

func ToInt

func ToInt(value interface{}, defaultValue int) int

func ToInt16

func ToInt16(value interface{}, defaultValue int16) int16

func ToInt16Array added in v1.0.7

func ToInt16Array(value interface{}, defaultValue []int16) []int16

func ToInt32

func ToInt32(value interface{}, defaultValue int32) int32

func ToInt32Array added in v1.0.7

func ToInt32Array(value interface{}, defaultValue []int32) []int32

func ToInt64

func ToInt64(value interface{}, defaultValue int64) int64

func ToInt64Array added in v1.0.7

func ToInt64Array(value interface{}, defaultValue []int64) []int64

func ToInt8

func ToInt8(value interface{}, defaultValue int8) int8

func ToInt8Array added in v1.0.7

func ToInt8Array(value interface{}, defaultValue []int8) []int8

func ToIntArray added in v1.0.7

func ToIntArray(value interface{}, defaultValue []int) []int

func ToMap

func ToMap(value interface{}, defaultValue map[string]interface{}) map[string]interface{}

func ToMapArray added in v1.0.7

func ToMapArray(value interface{}, defaultValue []map[string]interface{}) []map[string]interface{}

func ToRune

func ToRune(value interface{}, defaultValue rune) rune

func ToRuneArray added in v1.0.7

func ToRuneArray(value interface{}, defaultValue []rune) []rune

func ToString

func ToString(value interface{}, defaultValue string) string

func ToStringArray added in v1.0.7

func ToStringArray(value interface{}, defaultValue []string) []string

func ToTime

func ToTime(value interface{}, defaultValue time.Time) time.Time

func ToTimeArray added in v1.0.7

func ToTimeArray(value interface{}, defaultValue []time.Time) []time.Time

func ToUint

func ToUint(value interface{}, defaultValue uint) uint

func ToUint16

func ToUint16(value interface{}, defaultValue uint16) uint16

func ToUint16Array added in v1.0.7

func ToUint16Array(value interface{}, defaultValue []uint16) []uint16

func ToUint32

func ToUint32(value interface{}, defaultValue uint32) uint32

func ToUint32Array added in v1.0.7

func ToUint32Array(value interface{}, defaultValue []uint32) []uint32

func ToUint64

func ToUint64(value interface{}, defaultValue uint64) uint64

func ToUint64Array added in v1.0.7

func ToUint64Array(value interface{}, defaultValue []uint64) []uint64

func ToUint8

func ToUint8(value interface{}, defaultValue uint8) uint8

func ToUint8Array added in v1.0.7

func ToUint8Array(value interface{}, defaultValue []uint8) []uint8

func ToUintArray added in v1.0.7

func ToUintArray(value interface{}, defaultValue []uint) []uint

func ToUintptr

func ToUintptr(value interface{}, defaultValue uintptr) uintptr

func ToUintptrArray added in v1.0.7

func ToUintptrArray(value interface{}, defaultValue []uintptr) []uintptr

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL