Closed jimorie closed 5 years ago
The errors from unparam was:
response.go:615:73: (*Response).BuildLocalResponse - result 0 (error) is always nil
response.go:713:100: (*Response).BuildPassThroughResult - result 0 (error) is always nil
strange, i thought i had fixed that already. Seems like i never pushed it. Had exact the same change prepared somewhere.
thanks, merged.
Nice. Thanks for the quick merge. :)
you're welcome
After a recent update to the unparam tool it started reporting a couple of new errors in response.go. This commit addresses those errors to make unparam happy again.
The change in unparam that introduced the errors can be seen here: https://github.com/mvdan/unparam/commit/229ad68a599e2622cf9d3bb87a385b158efe736f