package config type Config struct { Name string Env Env BaseURL string } func (c Config) Environment() Env { return ValidEnvOrDev(c.Env) }