From a26f4f6a152ff6180a9fcc2b5d5e6fa08e11def0 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pinalie <2850825+jybp@users.noreply.github.com> Date: Wed, 25 Sep 2019 19:54:08 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.