Documentation ¶
Index ¶
- func ContainsString(s []string, v string) bool
- func GetEventNumber(fsys fs.FS) (int, error)
- func MergeDictionary(dest *map[string]string, src *map[string]string)
- func ReadEnvBool(key string) bool
- func ReadEnvString(key string) string
- func ReadEnvStringArray(key string) []string
- func RemoveEntries(src *map[string]string, exclusion []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString checks if `v` is present on slice `s`
func GetEventNumber ¶
ReadEvent reads and parse event meta definition
func MergeDictionary ¶
MergeDictionary fills a map with entries from other map. if a key from map `src` already exists in map `dest`, the value for that key will be replaced
func ReadEnvBool ¶
ReadEnvBool read and parse boolean environment variables. Will return `true` if the variable cannot be parsed
func ReadEnvString ¶
ReadEnvString read string environment variables. This function is a wrapper function to 'os.Getenv()'
func ReadEnvStringArray ¶
ReadEnvStringArray read an array of string environment variables. Must be comma-separated Automatically trims all values
func RemoveEntries ¶
RemoveEntries deletes all keys found in `exclusion` from `src`
Types ¶
This section is empty.