(httpClient *http.Client, host string)
| 156 | } |
| 157 | |
| 158 | func NewDetector(httpClient *http.Client, host string) Detector { |
| 159 | return &detector{ |
| 160 | httpClient: httpClient, |
| 161 | host: host, |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | func (d *detector) IssueFeatures() (IssueFeatures, error) { |
| 166 | if !ghauth.IsEnterprise(d.host) { |
no outgoing calls