go-httpclient
go-httpclient copied to clipboard
Basic Auth utility feature
Hi,
This library reminds me of how much I love Python's requests. One thing that I miss is a utility to pass a (username, password)
pair easily. Something around these lines:
httpclient.WithBasicAuth(username, password).Get(url)
Do you think it's worth implementing? I can submit a PR if you like it.