✅ Test config
This commit is contained in:
parent
2b888f203d
commit
e441e541c7
5 changed files with 101 additions and 0 deletions
|
|
@ -4,3 +4,7 @@ type Config struct {
|
|||
Env Env
|
||||
BaseURL string
|
||||
}
|
||||
|
||||
func (c Config) Environment() Env {
|
||||
return ValidEnvOrDev(c.Env)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue