Documentation ¶
Index ¶
- func ContainsDigits(s string) bool
- func HSVToRGB(h, s, v float64) (int32, int32, int32)
- func IntersectionSlices[T constraints.Ordered](a, b []T) []T
- func MostOcc[T comparable](predictions []T) T
- func OnlyContainsDigits(s string) bool
- func ReverseSlice[T any](s []T)
- func RuneIsOneOf(r rune, rs []rune) bool
- func ShortenString(s string, l int) string
- func SliceEquals[T constraints.Ordered](a, b []T) bool
- func SortSlice[T constraints.Ordered](s []T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsDigits ¶ added in v0.4.6
func IntersectionSlices ¶ added in v0.4.9
func IntersectionSlices[T constraints.Ordered](a, b []T) []T
func MostOcc ¶ added in v0.4.6
func MostOcc[T comparable](predictions []T) T
func OnlyContainsDigits ¶ added in v0.4.6
func ReverseSlice ¶ added in v0.4.9
func ReverseSlice[T any](s []T)
func RuneIsOneOf ¶ added in v0.4.6
func ShortenString ¶ added in v0.2.11
func SliceEquals ¶ added in v0.4.9
func SliceEquals[T constraints.Ordered](a, b []T) bool
func SortSlice ¶ added in v0.4.9
func SortSlice[T constraints.Ordered](s []T)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.