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 3ded353 commit 7e4a31fCopy full SHA for 7e4a31f
examples_test.go
@@ -13,6 +13,9 @@ import (
13
// self-hosted GitHub instances as well.
14
func ExampleFlow_DetectFlow() {
15
host, err := oauth.NewGitHubHost("https://github.com")
16
+ if err != nil {
17
+ panic(err)
18
+ }
19
flow := &oauth.Flow{
20
Host: host,
21
ClientID: os.Getenv("OAUTH_CLIENT_ID"),
0 commit comments