sfreiberg / gotwilio

Twilio library for Go (golang).
BSD 2-Clause "Simplified" License
342 stars 136 forks source link

`type Twilio interface` for mocking package? #103

Open cmnord opened 2 years ago

cmnord commented 2 years ago

Hello, I'd like to use gomock to mock the Twilio requests and responses in tests. This requires an interface corresponding to type Twilio struct and all its methods func (twilio *Twilio) .... What do you think of adding this interface to the gotwilio package?