Documentation ¶
Index ¶
- Constants
- func Convert(value interface{}, t reflect.Kind) (interface{}, error)
- func FormatIntToByte(b int64) string
- func FromBase64(valuea ...interface{}) string
- func FromTime(time time.Time) string
- func IsBool(input interface{}) bool
- func IsEmpty(valuea ...interface{}) bool
- func IsFloat(input interface{}) bool
- func IsInt(input interface{}) bool
- func IsKind(valuea ...interface{}) bool
- func IsNillable(input interface{}) bool
- func IsString(input interface{}) bool
- func IsTime(input interface{}) bool
- func OfKind(valuea ...interface{}) string
- func OfType(valuea ...interface{}) string
- func ToBase64(valuea ...interface{}) string
- func ToBool(valuea ...interface{}) bool
- func ToBytes(valuea ...interface{}) []byte
- func ToDuration(valuea ...interface{}) time.Duration
- func ToFixedLengthAfter(str string, spacer string, length int) string
- func ToFixedLengthBefore(str string, spacer string, length int) string
- func ToFixedLengthCenter(str string, spacer string, length int) string
- func ToFloat(valuea ...interface{}) float64
- func ToFloat32(valuea ...interface{}) float32
- func ToFloatFromXString(valuea ...string) float64
- func ToIP(valuea ...interface{}) net.IP
- func ToInt(valuea ...interface{}) int
- func ToInt16(valuea ...interface{}) int16
- func ToInt32(valuea ...interface{}) int32
- func ToInt64(valuea ...interface{}) int64
- func ToInt8(valuea ...interface{}) int8
- func ToMapInterfaceFromMapString(src map[string]string) map[string]interface{}
- func ToMapStringFromMapInterface(src map[interface{}]interface{}) map[string]interface{}
- func ToRuneLength(valuea ...interface{}) int
- func ToSlice(valuea ...interface{}) []interface{}
- func ToString(valuea ...interface{}) string
- func ToStringMap(valuea ...interface{}) map[string]interface{}
- func ToStringMapString(valuea ...interface{}) map[string]string
- func ToStringSlice(valuea ...interface{}) []string
- func ToTime(simple bool, valuea ...interface{}) time.Time
- func ToUint(valuea ...interface{}) uint64
- func Trimmed(valuea ...interface{}) string
Constants ¶
View Source
const ( KindTime reflect.Kind = iota + 1000000000 KindDuration )
View Source
const ( B = 1 << (10 * iota) KB MB GB TB PB EB )
Variables ¶
This section is empty.
Functions ¶
func FormatIntToByte ¶
func FromBase64 ¶
func FromBase64(valuea ...interface{}) string
func IsNillable ¶
func IsNillable(input interface{}) bool
func ToDuration ¶
func ToFloatFromXString ¶
func ToMapStringFromMapInterface ¶
func ToMapStringFromMapInterface(src map[interface{}]interface{}) map[string]interface{}
func ToRuneLength ¶
func ToRuneLength(valuea ...interface{}) int
func ToStringMap ¶
func ToStringMap(valuea ...interface{}) map[string]interface{}
func ToStringMapString ¶
func ToStringSlice ¶
func ToStringSlice(valuea ...interface{}) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.