Skip to content

Remove dependency on golang.org/x/oauth2  #2893

@WillAbides

Description

@WillAbides

golang.org/x/oauth2 is a pretty big module with its own dependencies including "google.golang.org/appengine" and "cloud.google.com/go/compute/metadata", but go-github only uses a very small part of it to add a static value to the Authorization header.

The oauth2 dependency can be replaced with a simple RoundTripper that adds the Authorization header.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions