Re:TwilioQuest, a new way to learn Twilio
by blhack on Thursday October 26, 2017 @01:32PM
(#15561130)
Hey out of curiousity what did you feel was tough in golang? I recently built an application that used twilio (heavily) in golang, and didn't seem to have much trouble.
[ Parent
| on HN ]
Re:TwilioQuest, a new way to learn Twilio
by ben_jones on Thursday October 26, 2017 @01:43PM
(#15561227)
The problem isn't with the REST interface Twilio offers necessarily but that ~3 years ago when I first got into Go + Twilio the third party libraries created had pretty serious flaws. For example they'd use the default http.Client which doesn't set proper timeouts and can lead to various issues. At that time I was unaware with such issues and struggled. A first-class library would alleviate these issues for people who are in a similar spot.
Re:TwilioQuest, a new way to learn Twilio
by kevinburke on Thursday October 26, 2017 @03:04PM
(#15561986)
Please take another look, my library configures the default timeout to be 31 seconds (one second wider than the API timeout), and lets you pass in a context.Context for each API call. https://github.com/kevinburke/twilio-go