Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryLoader ¶
type DirectoryLoader interface {
LoadPackageForFile(path string) (*packages.Package, *ast.File, *token.FileSet, error)
}
DirectoryLoader loads the full package for a given file path. It does a lot of caching internally.
func NewDirectoryLoader ¶
func NewDirectoryLoader() DirectoryLoader
NewDirectoryLoader creates a new directory-based package loader
Click to show internal directories.
Click to hide internal directories.