diff --git a/README.md b/README.md index c47dc03..ba8e276 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ func main() { var authCode string /* Retrieve the authorization code. */ ctx := context.Background() - tok, err := oauthConf.Exchange(ctx, authCode) + tok, err := cfg.Exchange(ctx, authCode) if err != nil { panic(err) } @@ -98,4 +98,4 @@ https://godoc.org/github.com/jybp/ebay ## Thanks - https://github.com/mholt/json-to-go for saving everyone's time. -- https://github.com/google/go-github for their library design. \ No newline at end of file +- https://github.com/google/go-github for their library design.