oauth2 package contains a client implementation for OAuth 2.0 spec.
go get github.com/golang/oauth2
See godoc for further documentation and examples.