Documentation ¶ Index ¶ func GetModuleName() (string, error) type Packages func (p *Packages) Load(importPath string) (*packages.Package, error) func (p *Packages) PackageFromPath(importPath string) (*packages.Package, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetModuleName ¶ func GetModuleName() (string, error) Types ¶ type Packages ¶ type Packages struct { // contains filtered or unexported fields } func (*Packages) Load ¶ func (p *Packages) Load(importPath string) (*packages.Package, error) func (*Packages) PackageFromPath ¶ func (p *Packages) PackageFromPath(importPath string) (*packages.Package, error) Source Files ¶ View all Source files mod.gopackages.go Click to show internal directories. Click to hide internal directories.