From e0df0d1cc47dca7182a7c29b79b757545a804c87 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Wed, 5 Jun 2013 14:15:33 -0700 Subject: [PATCH] goauth2 no longer requires Config to be provided --- README.md | 1 - github/github.go | 1 - 2 files changed, 2 deletions(-) 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: "..."}, }