()
| 124 | ) |
| 125 | |
| 126 | func getHTTPClient() *http.Client { |
| 127 | httpClientOnce.Do(func() { |
| 128 | httpClient = newHTTPClient() |
| 129 | }) |
| 130 | return httpClient |
| 131 | } |
| 132 | |
| 133 | func fetchJSON[T any](ctx context.Context, url string, out *upstreamEnvelope[T]) error { |
| 134 | var lastErr error |
no test coverage detected