Versions in this module Expand all Collapse all v1 v1.0.3 May 10, 2022 Changes in this version + func BoolToComplex(input bool, bitSize int) interface + func BoolToFloat(input bool, bitSize int) interface + func BoolToInt(input bool, bitSize int) interface + func BoolToMap(input bool) map[string]interface + func BoolToSlice(input bool) []interface + func BoolToString(input bool) string + func BoolToUint(input bool, bitSize int) interface + func ComplexToString(c complex128) string + func FloatToString(i float64) string + func IntToString(i int64) string + func MapEqual(d1, d2 map[string]interface{}) bool + func MapToBytes(input map[string]interface{}) []byte + func MapToSlice(input map[string]interface{}) []interface + func MapToStringMapInterface(input interface{}) map[string]interface + func SliceEqual(d1, d2 []interface{}) bool + func SliceIsBytes(input []interface{}) bool + func SliceToBytes(input []interface{}) []byte + func SliceToInterfaceSlice(input interface{}) []interface + func SliceToMap(input []interface{}) map[string]interface + func SliceToString(input []interface{}) string + func StringToBool(input string) bool + func StringToBytes(input string) []byte + func StringToComplex(input string, bitSize int) interface + func StringToFloat(input string, bitSize int) interface + func StringToInt(input string, bitSize int) interface + func StringToMap(input string) map[string]interface + func StringToSlice(input string) []interface + func StringToUint(input string, bitSize int) interface + func UintToString(i uint64) string + type TypeConverter struct + Bool bool + Byte byte + Bytes []byte + Complex128 complex128 + Complex64 complex64 + Float32 float32 + Float64 float64 + Int int + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Map map[string]interface{} + Slice []interface{} + String string + Uint uint + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func BoolToStruct(input bool) *TypeConverter + func MapToStruct(input map[string]interface{}) *TypeConverter + func New(input interface{}) *TypeConverter + func SliceToStruct(input []interface{}) *TypeConverter + func StringToStruct(input string) *TypeConverter + func (tc *TypeConverter) Compare(operator string, compareData interface{}) bool + func (tc *TypeConverter) Equal(compareData interface{}) bool