Documentation ¶
Index ¶
- func AlmostEqualFloat(a, b float64) bool
- func Contains[T comparable](s []T, e T) bool
- func GetBigger[T constraints.Ordered](a T, b T) T
- func GetRandomIntUpTo(max int) int
- func GetSmaller[T constraints.Ordered](a T, b T) T
- func PrintStruct(value any)
- func PrintStructnWithLabel(label string, value any)
- func Remove[T comparable](l []T, item T) []T
- func StrArrContains(s []string, e string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlmostEqualFloat ¶ added in v0.0.6
func Contains ¶
func Contains[T comparable](s []T, e T) bool
func GetBigger ¶
func GetBigger[T constraints.Ordered](a T, b T) T
func GetRandomIntUpTo ¶ added in v0.0.30
func GetSmaller ¶
func GetSmaller[T constraints.Ordered](a T, b T) T
func PrintStruct ¶
func PrintStruct(value any)
func PrintStructnWithLabel ¶
func Remove ¶
func Remove[T comparable](l []T, item T) []T
func StrArrContains ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.