internal

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(item string, items []string) bool

ContainsString returns boolean depending on existence item in items slice.

func GetEnvOrDefaultInt

func GetEnvOrDefaultInt(envVar string, defaultValue int) int

GetEnvOrDefaultInt returns environment variable value or default value (int) if variable not set.

func GetEnvOrDefaultString

func GetEnvOrDefaultString(envVar, defaultValue string) string

GetEnvOrDefaultString returns environment variable value or default value if variable not set.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL