mirror of
https://github.com/nikoksr/notify.git
synced 2025-01-05 22:53:35 +02:00
docs(comment): fix wrong type name in comment
This commit is contained in:
parent
531fee05b6
commit
cc15d717fa
@ -27,7 +27,7 @@ type MessageOptions struct {
|
|||||||
CallbackMethod string // The HTTP method to be used when calling CallbackURL - GET or POST(default)
|
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 {
|
type plivoMsgClient interface {
|
||||||
Create(plivo.MessageCreateParams) (*plivo.MessageCreateResponseBody, error)
|
Create(plivo.MessageCreateParams) (*plivo.MessageCreateResponseBody, error)
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ const (
|
|||||||
|
|
||||||
var sessionFilePath = filepath.Join(os.TempDir(), "whatsappSession.gob")
|
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 {
|
type whatsappClient interface {
|
||||||
Login(qrChan chan<- string) (whatsapp.Session, error)
|
Login(qrChan chan<- string) (whatsapp.Session, error)
|
||||||
RestoreWithSession(session whatsapp.Session) (whatsapp.Session, error)
|
RestoreWithSession(session whatsapp.Session) (whatsapp.Session, error)
|
||||||
|
Loading…
Reference in New Issue
Block a user