fix linter issues

This commit is contained in:
Gustavo Maronato 2023-09-20 01:28:25 -03:00
parent f96dda4af2
commit 8ad2fd2fd6
No known key found for this signature in database

View file

@ -39,8 +39,8 @@ func TestResponseWrapper_Status(t *testing.T) {
type FailWriter struct{}
func (w *FailWriter) Write(b []byte) (int, error) {
return 0, fmt.Errorf("error")
func (w *FailWriter) Write(_ []byte) (int, error) {
return 0, fmt.Errorf("error") //nolint:goerr113 // We want to return an error
}
func (w *FailWriter) Header() http.Header {