Skip to content

Commit 3ded353

Browse files
mouismailBagToad
andauthored
Add Go doc comment
Co-authored-by: Kynan Ware <[email protected]>
1 parent b0f6cc7 commit 3ded353

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oauth.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ type Host struct {
2525
TokenURL string
2626
}
2727

28+
// NewGitHubHost constructs a Host from the given URL to a GitHub instance.
2829
func NewGitHubHost(hostURL string) (*Host, error) {
2930
base, err := url.Parse(strings.TrimSpace(hostURL))
3031
if err != nil {

0 commit comments

Comments
 (0)