env

package
Version: v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package env includes methods to make retrieving environment variables more predictable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetenvE

func GetenvE(key string) (value string, err error)

GetenvE returns an error if the value is zero length, otherwise returns the environment variable.

func GetenvRequired

func GetenvRequired(key string) string

GetenvRequired panics if the environment variable is not set.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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