env

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get added in v0.1.0

func Get(key string, defaultValue string) (result string)

Get the value from the env with a fallback default value

func Set added in v0.1.0

func Set(key string, value string) error

Set - wrapper around os.Setenv to maintain consistency with the env API

Types

This section is empty.

Jump to

Keyboard shortcuts

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