coder / hat

HTTP API testing for Go
MIT License
36 stars 3 forks source link

use strings.Trim #3

Closed nhooyr closed 6 years ago

nhooyr commented 6 years ago

Instead of TrimPrefix and TrimSuffix at https://github.com/codercom/hat/blob/51b4351671193d4c595303ca568ea9dd5e439592/urljoin.go#L8-L9