Skip to content

Commit

Permalink
docs(comment): fix wrong type name in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoksr committed Feb 23, 2021
1 parent 531fee0 commit cc15d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/plivo/plivo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion service/whatsapp/whatsapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc15d71

Please sign in to comment.