golang.org/x/tools/gopls@v0.15.3/internal/test/marker/testdata/suggestedfix/unusedrequire.txt (about) 1 This test checks the suggested fix to remove unused require statements from 2 go.mod files. 3 4 -- flags -- 5 -write_sumfile=a 6 7 -- proxy/example.com@v1.0.0/x.go -- 8 package pkg 9 const X = 1 10 11 -- a/go.mod -- 12 module mod.com 13 14 go 1.14 15 16 require example.com v1.0.0 //@suggestedfix("require", re"not used", a) 17 18 -- @a/a/go.mod -- 19 @@ -4,3 +4 @@ 20 - 21 -require example.com v1.0.0 //@suggestedfix("require", re"not used", a) 22 - 23 -- a/main.go -- 24 package main 25 func main() {}