()
| 336 | } |
| 337 | |
| 338 | func (c *AuthConfig) DefaultHost() (string, string) { |
| 339 | if c.defaultHostOverride != nil { |
| 340 | return c.defaultHostOverride() |
| 341 | } |
| 342 | return ghauth.DefaultHost() |
| 343 | } |
| 344 | |
| 345 | // SetDefaultHost will override any host resolution and return the given |
| 346 | // host and source for all calls to DefaultHost. Use for testing purposes only. |
nothing calls this directly
no test coverage detected