Documentation ¶
Index ¶
- func AllElementsEqual[T comparable](slice []T, value T) bool
- func AnyElementEqual[T comparable](slice []T, value T) bool
- func DedupeSlice[T comparable](input []T) []T
- func FilterSlice[T any](slice []T, filterFn func(T) bool) []T
- func GetBearerTokenFromHeader(header http.Header, key string) (string, error)
- func MapSlice[T any, V any](slice []T, fn func(T) V) []V
- func NoElementEqual[T comparable](slice []T, value T) bool
- func SplitTableKey(key string) (schema, table string)
- func ToSha256(input string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllElementsEqual ¶ added in v0.4.24
func AllElementsEqual[T comparable](slice []T, value T) bool
func AnyElementEqual ¶ added in v0.4.24
func AnyElementEqual[T comparable](slice []T, value T) bool
func DedupeSlice ¶ added in v0.4.24
func DedupeSlice[T comparable](input []T) []T
func FilterSlice ¶
func NoElementEqual ¶ added in v0.4.24
func NoElementEqual[T comparable](slice []T, value T) bool
func SplitTableKey ¶ added in v0.4.24
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.