# 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.
IsEmpty checks whether given <value> empty.
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 battle struct/map with key `key`.
ListItemValuesUnique retrieves and returns the unique elements of all struct/map with key `key`.
NiceCallFunc calls function <f> with exception capture logic.
ProtoMarshal 获取MsgId/MsgData.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RandPerm returns, as a slice of n int numbers, a pseudo-random permutation of the integers [0,n).
No description provided by the author
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.
Try implements try..
TryCatch implements try...catch..
Values retrieves and returns the values from given map or struct.
# Type aliases
Comparator is a function that compare a and b, and returns the result as int.