Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](items []T, item T) bool
Returns true iff any element of the first parameter is equal to the second parameter
func InitLogger ¶
func LookupEnv ¶
func LookupEnv[T LookupValid](env string, defaultValue T) T
func SortedKeys ¶
func SortedKeys[K constraints.Ordered, V any](m map[K]V) []K
Returns a sorted slice of the keys of the given map
Types ¶
Click to show internal directories.
Click to hide internal directories.