MCPcopy Create free account

hub / github.com/alexkohler/unimport / functions

Functions17 in github.com/alexkohler/unimport

↓ 2 callersFunctionallPackages
allPackages returns all the packages that can be found under the $GOPATH directories and $GOROOT matching pattern. The pattern is either "all" (all pa
import.go:135
↓ 2 callersFunctionallPackagesInFS
allPackagesInFS is like allPackages but is passed a pattern beginning ./ or ../, meaning it should scan the tree rooted at the given directory. There
import.go:246
↓ 2 callersFunctionisDir
(filename string)
unimport.go:152
↓ 2 callersFunctionmatchPattern
matchPattern(pattern)(name) reports whether name matches pattern. Pattern is a limited glob pattern in which '...' means 'any string' and there is no
import.go:87
↓ 1 callersFunctioncheckImports
(args []string)
unimport.go:51
↓ 1 callersFunctionexists
(filename string)
unimport.go:157
↓ 1 callersFunctionhasPathPrefix
hasPathPrefix reports whether the path s begins with the elements in prefix.
import.go:102
↓ 1 callersFunctionimportPaths
importPaths returns the import paths to use for the given command line.
import.go:66
↓ 1 callersFunctionimportPathsNoDotExpansion
importPathsNoDotExpansion returns the import paths to use for the given command line, but it does no ... expansion.
import.go:34
↓ 1 callersFunctionmatchPackages
(pattern string)
import.go:143
↓ 1 callersFunctionmatchPackagesInFS
(pattern string)
import.go:254
↓ 1 callersFunctionparseInput
(args []string, fset *token.FileSet)
unimport.go:70
↓ 1 callersFunctiontreeCanMatchPattern
treeCanMatchPattern(pattern)(name) reports whether name or children of name can possibly match pattern. Pattern is the same limited glob accepted by m
import.go:119
MethodVisit
(node ast.Node)
unimport.go:162
Functioninit
()
unimport.go:21
Functionmain
()
unimport.go:38
Functionusage
()
unimport.go:25