tsk-13: Fix typo in TwilioConfig (#19)
Closes #13 Reviewed-on: phoenix/textsender-models#19 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TwiloConfig struct {
|
type TwilioConfig struct {
|
||||||
AccountSID string `json:"auth_sid"`
|
AccountSID string `json:"auth_sid"`
|
||||||
ServiceSID string `json:"service_sid"`
|
ServiceSID string `json:"service_sid"`
|
||||||
URI string `json:"uri"`
|
URI string `json:"uri"`
|
||||||
@@ -12,10 +12,11 @@ type TwiloConfig struct {
|
|||||||
Number string `json:"phone_number"`
|
Number string `json:"phone_number"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *TwiloConfig) PrintConfig() {
|
func (config *TwilioConfig) PrintConfig() {
|
||||||
fmt.Printf("Account SID: %s\n", config.AccountSID)
|
fmt.Println("Twilio config")
|
||||||
fmt.Printf("Service SID: %s\n", config.ServiceSID)
|
fmt.Println("Account SID:", config.AccountSID)
|
||||||
|
fmt.Println("Service SID:", config.ServiceSID)
|
||||||
fmt.Println("URI:", config.URI)
|
fmt.Println("URI:", config.URI)
|
||||||
fmt.Printf("Auth Token: %s\n", config.AuthToken)
|
fmt.Println("Auth Token:", config.AuthToken)
|
||||||
fmt.Printf("Number: %s\n", config.Number)
|
fmt.Println("Number:", config.Number)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user