Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtMost ¶
AtMost check if n is valid uint64 value between min and max. In that case, it returns "n", otherwise return max
func InSlice ¶
func InSlice(value, slice interface{}) bool
InSlice returns true if value is in slice
func ParseTag ¶
ParseTag parse the string str, that represents a struct tag in his format than returns a map of tags present with their associated values
func ReverseSlice ¶
func ReverseSlice(slice interface{}) interface{}
ReverseSlice reverse slice if slice is of type reflect.Slice or reflrect.Ptr (to silce) panics if slice type is different
func UpperFirst ¶
UpperFirst returns a copy of the s string, with the first letter capitalized
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.