Documentation ¶
Overview ¶
Env
More than ever, modern development relies on environment variables. To easily debug the local environment or export it, a chain of commands specific to your operating system would do. However, env wants to solve this in a modern way, cross platform.
Features
- Get an environment variable, ensuring the environment variable exists.
- Search for environment variables, interactively and programmatically.
- Export a list of required environment variables to a DotEnv file.
- Set, update and unset environment variables programmatically.
Directories ¶
Path | Synopsis |
---|---|
TODO: > Split up in separate files > command.go > application.go > descriptor.go > Document symbols > Write unit tests Final notes: This package DOES NOT hold a stable public API and is meant for internal purposes only.
|
TODO: > Split up in separate files > command.go > application.go > descriptor.go > Document symbols > Write unit tests Final notes: This package DOES NOT hold a stable public API and is meant for internal purposes only. |
encoding
Package encoding provides interfaces for configuration encoders and decoders.
|
Package encoding provides interfaces for configuration encoders and decoders. |
encoding/json
Package json implements an encoder and decoder for a JSON representation of config.Variable.
|
Package json implements an encoder and decoder for a JSON representation of config.Variable. |
encoding/text
Package text implements an encoder and decoder for a text based representation of config.Variable.
|
Package text implements an encoder and decoder for a text based representation of config.Variable. |
export
TODO: > Write unit tests > Document symbols
|
TODO: > Write unit tests > Document symbols |
TODO: > Write unit tests
|
TODO: > Write unit tests |
plugins
|
|
ext-config-encoding-xml
Package main implements an encoder and decoder for an XML representation of config.Variable.
|
Package main implements an encoder and decoder for an XML representation of config.Variable. |
TODO: > Write unit tests > Document symbols > Convert type of Request.Suggestions: > uint -> uint8 255 suggestions is enough > Add additional commands to manage environment variables > set > unset > export > import > Rename KeyParallel -> CtxParallel
|
TODO: > Write unit tests > Document symbols > Convert type of Request.Suggestions: > uint -> uint8 255 suggestions is enough > Add additional commands to manage environment variables > set > unset > export > import > Rename KeyParallel -> CtxParallel |
Click to show internal directories.
Click to hide internal directories.