net/http.Request.SetBasicAuth (method)

3 uses

	net/http (current package)
		request.go#L974: func (r *Request) SetBasicAuth(username, password string) {

	github.com/go-git/go-git/v5/plumbing/transport/http
		common.go#L200: 	r.SetBasicAuth(a.Username, a.Password)

	golang.org/x/oauth2/internal
		token.go#L175: 		req.SetBasicAuth(url.QueryEscape(clientID), url.QueryEscape(clientSecret))