diff --git a/README.md b/README.md index 941df3c..fb44a1a 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,6 @@ API token][]), you can use it with the goauth2 library like the following: ```go t := &oauth.Transport{ - Config: &oauth.Config{}, Token: &oauth.Token{AccessToken: "... your access token ..."}, } diff --git a/github/github.go b/github/github.go index 055c303..d7b0cc0 100644 --- a/github/github.go +++ b/github/github.go @@ -29,7 +29,6 @@ capable http.Client: // simple OAuth transport if you already have an access token; // see goauth2 library for full usage t := &oauth.Transport{ - Config: &oauth.Config{}, Token: &oauth.Token{AccessToken: "..."}, }