Update README.md

This commit is contained in:
Jean-Baptiste Pinalie
2019-09-25 19:54:08 +02:00
committed by GitHub
parent 65570e9b25
commit a26f4f6a15
+1 -1
View File
@@ -69,7 +69,7 @@ func main() {
var authCode string /* Retrieve the authorization code. */ var authCode string /* Retrieve the authorization code. */
ctx := context.Background() ctx := context.Background()
tok, err := oauthConf.Exchange(ctx, authCode) tok, err := cfg.Exchange(ctx, authCode)
if err != nil { if err != nil {
panic(err) panic(err)
} }