(host string)
| 1144 | } |
| 1145 | |
| 1146 | func reverseNormalizeHost(host string) string { |
| 1147 | switch host { |
| 1148 | case "api.github.com": |
| 1149 | return GitHubHost |
| 1150 | case "api.github.localhost": |
| 1151 | return "github.localhost" |
| 1152 | default: |
| 1153 | return host |
| 1154 | } |
| 1155 | } |
| 1156 | |
| 1157 | func checkStatus(expectedStatus int, action string, response *simpleResponse, err error) error { |
| 1158 | if err != nil { |
no outgoing calls
no test coverage detected
searching dependent graphs…