env

package
v0.0.0-...-6797358 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(name string) bool

func FileAsBytes

func FileAsBytes(p string) []byte

func Getenv

func Getenv(key string, fallback ...string) string

func GetenvBool

func GetenvBool(key string, fallback bool) bool

func GetenvFloat64

func GetenvFloat64(key string, fallback ...float64) float64

func GetenvInt

func GetenvInt(key string, fallback ...int) int

func GetenvMust

func GetenvMust(key string) string

func Getwd

func Getwd() string

func ParseArgs

func ParseArgs(argsRef interface{})

ParseArgs see https://github.com/alexflint/go-arg

func Setenv

func Setenv(key, value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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