APIHostForHost never resolves for the same reason as HostForAPIHost.
(string)
| 148 | |
| 149 | // APIHostForHost never resolves for the same reason as HostForAPIHost. |
| 150 | func (c cfg) APIHostForHost(string) (string, bool) { |
| 151 | return "", false |
| 152 | } |
| 153 | |
| 154 | func getViewer(httpClient *http.Client, hostname, token string) (string, error) { |
| 155 | authedClient := *httpClient |
nothing calls this directly
no outgoing calls
no test coverage detected