We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f6cc7 commit 3ded353Copy full SHA for 3ded353
oauth.go
@@ -25,6 +25,7 @@ type Host struct {
25
TokenURL string
26
}
27
28
+// NewGitHubHost constructs a Host from the given URL to a GitHub instance.
29
func NewGitHubHost(hostURL string) (*Host, error) {
30
base, err := url.Parse(strings.TrimSpace(hostURL))
31
if err != nil {
0 commit comments