From github.com
proposal: net/http: add methods for setting and getting Bearer tokens · Issue #70522 · golang/go
2 2
Proposal Details I propose the addition of the following two methods: // SetBearerAuth, if the provided token is valid, sets the request's // Authorization header to use the Bearer authentication s...
5h ago