New instantiates a GitHub repository from owner and name arguments
(owner, repo string)
| 19 | |
| 20 | // New instantiates a GitHub repository from owner and name arguments |
| 21 | func New(owner, repo string) Interface { |
| 22 | return NewWithHost(owner, repo, ghinstance.Default()) |
| 23 | } |
| 24 | |
| 25 | // NewWithHost is like New with an explicit host name |
| 26 | func NewWithHost(owner, repo, hostname string) Interface { |