Versions in this module Expand all Collapse all v1 v1.0.0 Aug 3, 2023 Changes in this version + func AnyMatch(regexes []*regexp.Regexp, s *string) bool + func CompareFileReferences(a, b *models.FileReference) bool + func Filter(s []T, cb func(v T) bool) []T + func GetHttpClient(credentials *models.Credentials) *req.Client + func GetHttpClientWithBasicAuth(credentials *models.Credentials) *req.Client + func GetMapKeys(m map[T]U) []T + func GetPtr(v T) *T + func GetPtrOrNil(v T) *T + func IsArray(input any) bool + func Map(s []T, cb func(v T) U) []U + func MapToSlice(m map[K]T, cb func(k K, v T) U) []U + func MapToSliceErr(m map[K]T, cb func(k K, v T) (U, error)) ([]U, error) + func MapWithIndex(s []T, cb func(v T, i int) U) []U + func SliceContains(s []T, v T) bool + func SliceContainsBy(s []T, v T, cb func(y, u T) bool) bool + func SliceToMap(s []T, cb func(v T) U) map[T]U + func ToSlice(v any) ([]T, bool)