From cc15d717fa646faf4f43e12a4576a8e1f2a05f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niko=20K=C3=B6ser?= Date: Tue, 23 Feb 2021 01:23:31 +0100 Subject: [PATCH] docs(comment): fix wrong type name in comment --- service/plivo/plivo.go | 2 +- service/whatsapp/whatsapp.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/plivo/plivo.go b/service/plivo/plivo.go index 57a601c..3c516ad 100644 --- a/service/plivo/plivo.go +++ b/service/plivo/plivo.go @@ -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) } diff --git a/service/whatsapp/whatsapp.go b/service/whatsapp/whatsapp.go index 8b973b7..ab7c03f 100644 --- a/service/whatsapp/whatsapp.go +++ b/service/whatsapp/whatsapp.go @@ -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)