Package envh provides convenient helpers to easily retrieve environment variables.
The purpose of the library is to be simple and functional. It has functions to retrieve environment variables and assign their values to string
, int
, and bool
types. It uses https://github.com/pkg/errors for error handling and https://github.com/rs/zerolog for logging.
go get github.com/felipeneuwald/envh
See pkg.go.dev for usage examples and the full package documentation.