Documentation ¶ Overview ¶ Package env sources configuration from process environment variables, optionally filtered and trimmed by prefix. Index ¶ func NewSource(prefixes ...string) config.Source Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewSource ¶ func NewSource(prefixes ...string) config.Source NewSource returns a source that loads environment variables. With no prefixes every variable is loaded under its own name; with prefixes, only matching variables are loaded, keyed by the name with the prefix (and one separating underscore) removed. Types ¶ This section is empty. Source Files ¶ View all Source files env.gowatcher.go Click to show internal directories. Click to hide internal directories.