1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-01-03 22:52:23 +02:00

docs(comment): fix wrong type name in comment

This commit is contained in:
Niko Köser 2021-02-23 01:23:31 +01:00
parent 531fee05b6
commit cc15d717fa
No known key found for this signature in database
GPG Key ID: F3F28C118DAA6375
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ type MessageOptions struct {
CallbackMethod string // The HTTP method to be used when calling CallbackURL - GET or POST(default)
}
// mockPlivoMsgClient abstracts Plivo SDK for writing unit tests
// plivoMsgClient abstracts Plivo SDK for writing unit tests
type plivoMsgClient interface {
Create(plivo.MessageCreateParams) (*plivo.MessageCreateResponseBody, error)
}

View File

@ -20,7 +20,7 @@ const (
var sessionFilePath = filepath.Join(os.TempDir(), "whatsappSession.gob")
// mockWhatsappClient abstracts go-whatsapp for writing unit tests
// whatsappClient abstracts go-whatsapp for writing unit tests
type whatsappClient interface {
Login(qrChan chan<- string) (whatsapp.Session, error)
RestoreWithSession(session whatsapp.Session) (whatsapp.Session, error)