Documentation ¶
Index ¶
- func Filter[T comparable](l []T, item T) []T
- func GetBoolEnvOrDefault(key string, defaultValue bool) bool
- func GetStringEnvOrDefault(key string, defaultValue string) string
- func GetUintEnvOrDefault(key string, defaultValue uint64) uint64
- func MergeMaps[T interface{}](ms ...map[string]T) map[string]T
- func StructToMap(obj interface{}) (newMap map[string]interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶ added in v0.3.1
func Filter[T comparable](l []T, item T) []T
func GetBoolEnvOrDefault ¶ added in v0.1.15
func GetStringEnvOrDefault ¶ added in v0.1.15
func GetUintEnvOrDefault ¶ added in v0.1.15
func StructToMap ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.