# Functions
ComparatorByte provides a basic comparison on byte.
ComparatorFloat32 provides a basic comparison on float32.
ComparatorFloat64 provides a basic comparison on float64.
ComparatorInt provides a basic comparison on int.
ComparatorInt16 provides a basic comparison on int16.
ComparatorInt32 provides a basic comparison on int32.
ComparatorInt64 provides a basic comparison on int64.
ComparatorInt8 provides a basic comparison on int8.
ComparatorRune provides a basic comparison on rune.
ComparatorString provides a fast comparison on strings.
ComparatorTime provides a basic comparison on time.Time.
ComparatorUint provides a basic comparison on uint.
ComparatorUint16 provides a basic comparison on uint16.
ComparatorUint32 provides a basic comparison on uint32.
ComparatorUint64 provides a basic comparison on uint64.
ComparatorUint8 provides a basic comparison on uint8.
Copy returns a deep copy of v.
Dump prints variables `values` to stdout with more manually readable.
DumpJson pretty dumps json content to stdout.
DumpTo writes variables `values` as a string in to `writer` with more manually readable.
DumpWithOption returns variables `values` as a string with more manually readable.
DumpWithType acts like Dump, but with type information.
FillStructWithDefault fills attributes of pointed struct with tag value from `default/d` tag .
GetOrDefaultAny checks and returns value according whether parameter `param` available.
GetOrDefaultStr checks and returns value according whether parameter `param` available.
Go creates a new asynchronous goroutine function with specified recover function.
IsEmpty checks given `value` empty or not.
IsTypeOf checks and returns whether the type of `value` and `valueInExpectType` equal.
ItemValue retrieves and returns its value of which name/attribute specified by `key`.
Keys retrieves and returns the keys from given map or struct.
ListItemValues retrieves and returns the elements of all item struct/map with key `key`.
ListItemValuesUnique retrieves and returns the unique elements of all struct/map with key `key`.
ListToMapByKey converts `list` to a map[string]interface{} of which key is specified by `key`.
MapContains checks whether map `data` contains `key`.
MapContainsPossibleKey checks if the given `key` is contained in given map `data`.
MapCopy does a shallow copy from map `data` to `copy` for most commonly used map type map[string]interface{}.
MapDelete deletes all `keys` from map `data`.
MapMerge merges all map from `src` to map `dst`.
MapMergeCopy creates and returns a new map which merges all map from `src`.
MapOmitEmpty deletes all empty values from given map.
MapPossibleItemByKey tries to find the possible key-value pair for given key ignoring cases and symbols.
MapToSlice converts map to slice of which all keys and values are its items.
OriginTypeAndKind retrieves and returns the original reflect type and kind.
OriginValueAndKind retrieves and returns the original reflect value and kind.
SliceCopy does a shallow copy of slice `data` for most commonly used slice type []interface{}.
SliceDelete deletes an element at `index` and returns the new slice.
SliceInsertAfter inserts the `values` to the back of `index` and returns a new slice.
SliceInsertBefore inserts the `values` to the front of `index` and returns a new slice.
SliceToMap converts slice type variable `slice` to `map[string]interface{}`.
SliceToMapWithColumnAsKey converts slice type variable `slice` to `map[interface{}]interface{}` The value of specified column use as the key for returned map.
StructToSlice converts struct to slice of which all keys and values are its items.
Throw throws out an exception, which can be caught be TryCatch or recover.
Try implements try..
TryCatch implements `try...catch..`.
Values retrieves and returns the values from given map or struct.
# Structs
DumpOption specifies the behavior of function Export.
# Type aliases
Comparator is a function that compare a and b, and returns the result as int.
No description provided by the author
No description provided by the author