Documentation ¶
Index ¶
- func FromStringArray(strArray []string) (ret []interface{})
- func GetFieldValue(v interface{}, fieldName string) (result string)
- func IsInstanceOf(objectPtr, typePtr interface{}) bool
- func IsInterfaceNil(value interface{}) bool
- func IsInterfacePointer(v interface{}) bool
- func IsTime(value interface{}) bool
- func IsZeroValue(x interface{}) bool
- func ToBool(defaultValue bool, value interface{}) bool
- func ToDatetime(val interface{}) (result time.Time)
- func ToFloat(val interface{}) (result float64)
- func ToInt(val interface{}) (result int)
- func ToIntArray(val interface{}) []int
- func ToInterfaceArray(val []string) (result []interface{})
- func ToString(defaultValue string, val interface{}) (strValue string)
- func ToStringArray(val interface{}) (result []string)
- func ToStringAsArray(val interface{}, separation string, quote bool) (result string)
- func ToUInt32(val interface{}) uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromStringArray ¶
func FromStringArray(strArray []string) (ret []interface{})
FromStringArray converte um array de string em um array de interfce
func GetFieldValue ¶
func IsInstanceOf ¶
func IsInstanceOf(objectPtr, typePtr interface{}) bool
func IsInterfaceNil ¶
func IsInterfaceNil(value interface{}) bool
func IsInterfacePointer ¶
func IsInterfacePointer(v interface{}) bool
func IsZeroValue ¶
func IsZeroValue(x interface{}) bool
func ToDatetime ¶
func ToIntArray ¶
func ToIntArray(val interface{}) []int
ToIntArray convert interface into array of int
func ToInterfaceArray ¶
func ToInterfaceArray(val []string) (result []interface{})
func ToStringArray ¶
func ToStringArray(val interface{}) (result []string)
ToStringArray convert interface into array of string
func ToStringAsArray ¶
ToStringAsArray convert slice of inteface into a string with separation character
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.