Documentation ¶
Index ¶
- func GetFileLine() string
- func IntMax(i, max int) int
- func IntMin(i, min int) int
- func IntMinMax(i, min, max int) int
- func IntMinMaxDefault(i, min, max, _default int) int
- func MakeArrayUnique[T comparable](array *[]T) (res []T)
- func MakeArrayUniqueInterface[T comparable](array *[]T) (res []interface{})
- func MakeStringArrayUniqueAndCheckLength(array *[]string, limit int) (res []string)
- func Multiply[T int | int32](a, b T) T
- func NotInMapFindAllAppendDefault[T any](m map[string][]T, keys []string) (val []T)
- func NotInMapFindAllDefault[T any](m map[string]T, keys []string) (val []T)
- func NotInMapFindDefault[T string | []int](m map[string]T, key string) (val T)
- func SplitTrim(s, sep string) (res []string)
- func SplitTrimLower(s, sep string) (res []string)
- func SplitTrimLowerUniqueLen(s, sep string) int
- func SplitTrimUpper(s, sep string) (res []string)
- func StringRepeatArray(s string, count int) (arr []string)
- func StringRepeatJoin(str, sep string, count int) string
- func TernaryOperator[V any](tf bool, T, F V) V
- func ToInt(i any) (ii int)
- func ToJsonIndentString(i any) (str *[]byte)
- func ToJsonString(i any) (str *[]byte)
- func TrimLower(s string) string
- func TrimUpper(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileLine ¶
func GetFileLine() string
func IntMinMaxDefault ¶
func MakeArrayUnique ¶
func MakeArrayUnique[T comparable](array *[]T) (res []T)
func MakeArrayUniqueInterface ¶
func MakeArrayUniqueInterface[T comparable](array *[]T) (res []interface{})
func NotInMapFindAllDefault ¶
func NotInMapFindDefault ¶
func SplitTrimLower ¶
func SplitTrimLowerUniqueLen ¶
func SplitTrimUpper ¶
func StringRepeatArray ¶
func StringRepeatJoin ¶
func TernaryOperator ¶
func ToJsonIndentString ¶
func ToJsonString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.