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)