HTTPClientWithFallBack to be used in all fetch operations.
(h *http.Client)
| 80 | |
| 81 | // HTTPClientWithFallBack to be used in all fetch operations. |
| 82 | func HTTPClientWithFallBack(h *http.Client) *http.Client { |
| 83 | if h != nil { |
| 84 | return h |
| 85 | } |
| 86 | return http.DefaultClient |
| 87 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…