podhmo / go-webtest

Sometimes, easy is better than simple
MIT License
1 stars 0 forks source link

Client with authentication #29

Closed podhmo closed 5 years ago

podhmo commented 5 years ago

24

podhmo commented 5 years ago

WithModifyRequest(func (req *http.Request){ req.SetBasicAuth(user, pass) })