Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Suite: "golium", Environment: "local", Dir: DirConfig{ Config: "./", Schemas: "./schemas", Environments: "./environments", }, Log: LogConfig{ Directory: "./logs", Level: "INFO", Encode: false, }, }
DefaultConfig is the default configuration for golium. This default configuration can be overridden with environment variables.
Functions ¶
Types ¶
type Config ¶
type Config struct { Suite string `yaml:"suite" envconfig:"SUITE"` Environment string `yaml:"environment" envconfig:"ENVIRONMENT"` Dir DirConfig `yaml:"dir"` Log LogConfig `yaml:"log"` }
Config contains the configuration for golium project.
Click to show internal directories.
Click to hide internal directories.