environment

package
v0.26.2 Latest Latest
Warning

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

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

Documentation

Overview

Package environment provides utility functions for interacting with the OS environment (e.g environment variables).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFirstNonEmptyEnvVarOrEmptyString

func GetFirstNonEmptyEnvVarOrEmptyString(t testing.TestingT, envVarNames []string) string

GetFirstNonEmptyEnvVarOrEmptyString returns the first non-empty environment variable from envVarNames, or returns the empty string

func GetFirstNonEmptyEnvVarOrFatal

func GetFirstNonEmptyEnvVarOrFatal(t testing.TestingT, envVarNames []string) string

GetFirstNonEmptyEnvVarOrFatal returns the first non-empty environment variable from envVarNames, or throws a fatal

Types

This section is empty.

Jump to

Keyboard shortcuts

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