(httpClient *http.Client, host string)
| 180 | } |
| 181 | |
| 182 | func NewDetector(httpClient *http.Client, host string) Detector { |
| 183 | return &detector{ |
| 184 | httpClient: httpClient, |
| 185 | host: host, |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | func (d *detector) IssueFeatures() (IssueFeatures, error) { |
| 190 | if !ghauth.IsEnterprise(d.host) { |
no outgoing calls