We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03ac743 commit 378a7c1Copy full SHA for 378a7c1
1 file changed
playground/internal/imports/fix.go
@@ -146,11 +146,6 @@ func importPathToNameBasic(importPath string) (packageName string) {
146
return path.Base(importPath)
147
}
148
149
-type pkg struct {
150
- importpath string // full pkg import path, e.g. "net/http"
151
- dir string // absolute file path to pkg directory e.g. "/usr/lib/go/src/fmt"
152
-}
153
-
154
// findImport searches for a package with the given symbols.
155
// If no package is found, findImport returns "".
156
// Declared as a variable rather than a function so goimports can be easily
0 commit comments