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

View File

@@ -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.
- https://github.com/google/go-github for their library design.