Browse Source

goauth2 no longer requires Config to be provided

Will Norris 13 years ago
parent
commit
e0df0d1cc4
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      README.md
  2. +0
    -1
      github/github.go

+ 0
- 1
README.md View File

@ -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 ..."},
}


+ 0
- 1
github/github.go View File

@ -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: "..."},
}


Loading…
Cancel
Save