Registry / config / jaypipes-envutil

jaypipes-envutil

JSON →
library1.0.0gogounverified

A Go utility library for reading and parsing environment variables with support for defaults and type conversion.

go get github.com/jaypipes/envutil
INSTALL
IMPORT
SIG · JAYPIPES-ENVUTIL
J
jaypipes-envutil
configgov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

envutil
github.com/jaypipes/envutil

Read an environment variable with a default value.

package main import ( "fmt" "github.com/jaypipes/envutil" ) func main() { val := envutil.Getenv("MY_VAR", "default") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
Amazon
1
Resources
jaypipes-envutil — go get jaypipes-envutil · libregistry