Documentation ¶
Index ¶
- func FileExists(filename string) bool
- func IsArray(value interface{}, strict ...bool) bool
- func IsPtr(value interface{}) bool
- func IsSlice(value interface{}) bool
- func SafeMul(a, b uint) uint
- func StrSizeToBytes(sizeStr string) uint
- func Typeof(value interface{}) (typ string, kind string)
- func Unmarshal(data interface{}, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists Checks whether a file or directory exists
func IsArray ¶
IsArray Check if the value is an array, the default is non-strict mode Non-strict mode type is SLICE, Array, and map will return true. Returns True when only the array type
func StrSizeToBytes ¶
StrSizeToBytes converts strings like 1GB or 12 mb into an unsigned integer number of bytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.