package config type config struct { Server server `yaml:"server"` Database database `yaml:"database"` } type server struct { Address string `yaml:"address"` DebugMode bool `yaml:"debug_mode"` FileLogger bool `yaml:"file_logger"` JwtSecret string `yaml:"jwt_secret"` } type database struct { Type string `yaml:"type"` Host string `yaml:"host"` Name string `yaml:"name"` Username string `yaml:"username"` Password string `yaml:"password"` }