Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInterfaceInfo ¶
Types ¶
type PackageInfo ¶
type PackageInfo struct { Dir, ImportPath, Name, Target, Root, StaleReason string Stale bool Module struct { Main bool Path, Dir, GoMod, GoVersion string } Match, GoFiles, Imports, Deps []string }
func FindPackageByImports ¶
func FindPackageByImports(imports []*ast.ImportSpec, alias string) (*PackageInfo, error)
func GetPackageInfo ¶
func GetPackageInfo(pkgPath string) (*PackageInfo, error)
func (PackageInfo) FindPackageDirFor ¶
func (in PackageInfo) FindPackageDirFor(packageName string) (string, error)
Click to show internal directories.
Click to hide internal directories.