pkgloader

package
v0.0.0-...-272d833 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(pkgPath string) (*packages.Package, error)

Load loads a packages by pkgPath

func LoadPackageDecls

func LoadPackageDecls(pkgPath string) (*packages.Package, []ast.Decl)

func ParsePackageImport

func ParsePackageImport(srcDir string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL