Files
music-agregator/internal/config/config.go
T
2026-05-04 16:27:04 +02:00

17 lines
249 B
Go

package config
type Config struct {
App struct {
Port string `yaml:"port"`
Host string `yaml:"host"`
} `yaml:"app"`
}
func NewConfig() *Config {
config := Config{}
config.App.Host = "localhost"
config.App.Port = "8080"
return &config
}