feat(mail): adds a test subcomand
All checks were successful
build / build (push) Successful in 1m10s
Build and release / build (push) Successful in 14m51s

This commit is contained in:
Thomas Maurice 2024-02-13 18:30:54 +01:00
parent 3ccd936601
commit 09d3149932
Signed by: thomas
GPG key ID: 1D577F50583032A6
3 changed files with 101 additions and 1 deletions

View file

@ -20,6 +20,11 @@ type Config struct {
Providers struct {
OVH *providerConfigs.OVHConfig `yaml:"ovh"`
} `yaml:"providers"`
Test *struct {
Address string `yaml:"address"`
Username string `yaml:"username"`
Password string `yaml:"password"`
} `yaml:"test"`
}
func LoadConfig(path string) (*Config, error) {