melboyce opened this issue 6 years ago · 0 comments
Consider a global var along the lines of
var httpClient = &http.Client{Timeout: 10 * time.Second}
The default client won't ever time out.