Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefault ¶
func NewDefault() error
DefaultConfig returns a fully initialized(? maybe not the best word) configuration.
Types ¶
type Config ¶
type Config struct { Imports []string `koanf:"imports"` Project struct { Name string `koanf:"name"` Description string `koanf:"description"` } `koanf:"project"` RepositoryURL string `koanf:"repository_url"` }
Config is the complete representation of the configuration, it is authoritative on configuration names, hierarchy, structure and type.
Click to show internal directories.
Click to hide internal directories.