Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Env string `yaml:"env" env:"ENV" env-default:"local"`
Service string `yaml:"service" env:"SERVICE_NAME" env-default:"my-app"`
Logger struct {
Level string `yaml:"level" env:"LOG_LEVEL" env-default:"info"`
AddSource bool `yaml:"add_source" env:"LOG_ADD_SOURCE" env-default:"false"`
}
}
Click to show internal directories.
Click to hide internal directories.