refactor: rename config structs (#5459)

This commit is contained in:
Elio Bischof
2023-03-16 18:24:30 +01:00
committed by GitHub
parent 1896f13952
commit 09abf06d4d
27 changed files with 92 additions and 92 deletions

View File

@@ -1,11 +1,11 @@
package twilio
type TwilioConfig struct {
type Config struct {
SID string
Token string
SenderNumber string
}
func (t *TwilioConfig) IsValid() bool {
func (t *Config) IsValid() bool {
return t.SID != "" && t.Token != "" && t.SenderNumber != ""
}