()
| 393 | } |
| 394 | |
| 395 | func (c *AuthConfig) DefaultHost() (string, string) { |
| 396 | if c.defaultHostOverride != nil { |
| 397 | return c.defaultHostOverride() |
| 398 | } |
| 399 | return ghauth.DefaultHost() |
| 400 | } |
| 401 | |
| 402 | // SetDefaultHost will override any host resolution and return the given |
| 403 | // host and source for all calls to DefaultHost. Use for testing purposes only. |
nothing calls this directly
no test coverage detected