diff options
author | Kassio Borges <kassioborgesm@gmail.com> | 2023-04-11 16:10:50 +0300 |
---|---|---|
committer | Kassio Borges <kassioborgesm@gmail.com> | 2023-04-12 14:02:13 +0300 |
commit | 4818095bc357ec6415e939a321af507b2c42daad (patch) | |
tree | 7c47f3a19a8bf701b9926bf901ea5c4394a382be /internal/vfs | |
parent | 29ac8e1a6ad17403f74c438c36e1637ac555ae20 (diff) |
Update golangci-lint tool
Diffstat (limited to 'internal/vfs')
-rw-r--r-- | internal/vfs/errors.go | 2 | ||||
-rw-r--r-- | internal/vfs/serving/main_test.go | 2 | ||||
-rw-r--r-- | internal/vfs/serving/serving_test.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/internal/vfs/errors.go b/internal/vfs/errors.go index 6fa2f29b..31ad895d 100644 --- a/internal/vfs/errors.go +++ b/internal/vfs/errors.go @@ -27,7 +27,7 @@ func (r *ReadError) Unwrap() error { } func (r *ReadError) Is(target error) bool { - // nolint: errorlint // implementing type equality for errors.Is + //nolint: errorlint // implementing type equality for errors.Is _, ok := target.(*ReadError) return ok } diff --git a/internal/vfs/serving/main_test.go b/internal/vfs/serving/main_test.go index c0c2c29f..85e7c465 100644 --- a/internal/vfs/serving/main_test.go +++ b/internal/vfs/serving/main_test.go @@ -23,7 +23,7 @@ func TestMain(m *testing.M) { os.Exit(v) } -// nolint: gocyclo // this is vendored code +//nolint: gocyclo // this is vendored code func interestingGoroutines() (gs []string) { buf := make([]byte, 2<<20) buf = buf[:runtime.Stack(buf, true)] diff --git a/internal/vfs/serving/serving_test.go b/internal/vfs/serving/serving_test.go index f7bfc2e9..161fd2e2 100644 --- a/internal/vfs/serving/serving_test.go +++ b/internal/vfs/serving/serving_test.go @@ -22,7 +22,7 @@ var ( lastMod = time.Now() ) -// nolint: gocyclo // this is vendored code +//nolint: gocyclo // this is vendored code func TestServeContent(t *testing.T) { defer afterTest(t) type serveParam struct { |