()
| 301 | } |
| 302 | |
| 303 | func (g *Github) GetAuthType() GithubAuthType { |
| 304 | if g.AuthType == "" { |
| 305 | return GithubAuthTypePAT |
| 306 | } |
| 307 | return g.AuthType |
| 308 | } |
| 309 | |
| 310 | func (g *Github) APIEndpoint() string { |
| 311 | if g.APIBaseURL != "" { |
no outgoing calls
no test coverage detected