Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Path string `json:"path"` // contains filtered or unexported fields }
type ConfigFile ¶
type ConfigFile struct { Path string `json:"path"` Default Config `json:"default"` EnvironmentOverrides map[string]Config `json:"environmentOverrides"` }
func DetectConfig ¶
func DetectConfig(dir string) (*ConfigFile, error)
func (*ConfigFile) MergeConfig ¶
func (projectConfig *ConfigFile) MergeConfig(env string) Config
Click to show internal directories.
Click to hide internal directories.