diff --git a/.golangci.yml b/.golangci.yml index c58238d..ccd3a10 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,3 +7,6 @@ linters: run: timeout: 5m + +output: + format: colored-line-number diff --git a/device_storage_test.go b/device_storage_test.go index f078f68..56cd320 100644 --- a/device_storage_test.go +++ b/device_storage_test.go @@ -108,7 +108,7 @@ func newMockDeviceStorageServer() *httptest.Server { ` } - w.Write([]byte(response)) + _, _ = w.Write([]byte(response)) })) }