Documentation ¶ Index ¶ type DatabaseConfig type Settings func New() (*Settings, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DatabaseConfig ¶ type DatabaseConfig struct { Host string `yaml:"host"` Port int `yaml:"port"` User string `yaml:"user"` Password string `yaml:"password"` Name string `yaml:"name"` } type Settings ¶ type Settings struct { Port string `yaml:"port"` DB DatabaseConfig `yaml:"database"` } func New ¶ func New() (*Settings, error) Source Files ¶ View all Source files settings.go Click to show internal directories. Click to hide internal directories.