Package env handles environment variables in a structured manner.
See the README at https://github.com/peter-edge/env-go/blob/master/README.md for more details.
Main runs the common functionality needed in a go main function. appEnv will be populated and passed to do, defaultEnv can be nil if there is an error, os.Exit(1) will be called.
Populate populates an object with environment variables.
The environment has precedence over the decoders, earlier decoders have precedence over later decoders.
Decoder decodes an env file.
NewEnvFileDecoder returns a new Decoder that decodes an env file of the form key=value.
NewJSONDecoder returns a new Decoder that decodes a JSON object.