Test config

This commit is contained in:
Dan Jones 2024-09-13 13:38:30 -05:00
commit e441e541c7
5 changed files with 101 additions and 0 deletions

View file

@ -4,3 +4,7 @@ type Config struct {
Env Env
BaseURL string
}
func (c Config) Environment() Env {
return ValidEnvOrDev(c.Env)
}