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