APIHostForHost never resolves for the same reason as HostForAPIHost.
(string)
| 161 | |
| 162 | // APIHostForHost never resolves for the same reason as HostForAPIHost. |
| 163 | func (c cfg) APIHostForHost(string) (string, bool) { |
| 164 | return "", false |
| 165 | } |
| 166 | |
| 167 | func getViewer(httpClient *http.Client, hostname, token string) (string, error) { |
| 168 | authedClient := *httpClient |
nothing calls this directly
no outgoing calls
no test coverage detected