Documentation ¶ Overview ¶ Package config provides dynamic config via env vars, flags and config file Index ¶ func NewConfig(opts ...config.Option) config.Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewConfig ¶ func NewConfig(opts ...config.Option) config.Config NewConfig returns new config for env vars, flags and config file. Config file is expected to be at the path ./config.json. For flag parsing to take effect service.Init must be called before creating new config. Types ¶ This section is empty. Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.