mirror of
https://github.com/Maronato/go-finger.git
synced 2025-03-15 00:34:47 +00:00
fix linter issues
This commit is contained in:
parent
f96dda4af2
commit
8ad2fd2fd6
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue