DEV Community

Discussion on: Attempting to Learn Go - Now Sending REST Requests

Collapse
 
shindakun profile image
Steve Layton

Yeah, when you are releasing a package it's a good idea to provide alternatives and just fall back to http.DefaultClient. For such a simple example I decided not to. You can see a good example of providing a fall back in a follow-up post. dev.to/shindakun/attempting-to-lea...