Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageResolver ¶
PackageResolver is a map of package path -> package name. Names are resolved from this map, and if a name doesn't exist in the map, an error is returned. Note that Guess is not a NodeResolver, so can't properly resolve identifiers in dot import packages.
func (PackageResolver) ResolvePackage ¶
func (r PackageResolver) ResolvePackage(importPath string) (string, error)
Click to show internal directories.
Click to hide internal directories.