some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / staticcheck / testdata / src / checkStdlibUsageSeeker / checkStdlibUsageSeeker.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/checkStdlibUsageSeeker/checkStdlibUsageSeeker.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/checkStdlibUsageSeeker/checkStdlibUsageSeeker.go
deleted file mode 100644 (file)
index 8ebd909..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package pkg
-
-import "io"
-
-func fn() {
-       const SeekStart = 0
-       var s io.Seeker
-       s.Seek(0, 0)
-       s.Seek(0, io.SeekStart)
-       s.Seek(io.SeekStart, 0) // want `the first argument of io\.Seeker is the offset`
-       s.Seek(SeekStart, 0)
-}