pkgload

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseMethodString added in v1.3.0

func ParseMethodString(cwd, fullMethod string) (pkg, name string, err error)

Types

type PackageLoader

type PackageLoader struct {
	// contains filtered or unexported fields
}

func New

func New(workDir, buildTags string, paths []string) (*PackageLoader, error)

func (*PackageLoader) GetMatching added in v1.3.0

func (g *PackageLoader) GetMatching(cwd, fullMethod string, opts *method.ParseOpts) ([]*method.Definition, error)

func (*PackageLoader) GetOne added in v1.3.0

func (g *PackageLoader) GetOne(cwd, fullMethod string, opts *method.ParseOpts) (*method.Definition, error)

func (*PackageLoader) GetOneRaw added in v1.3.0

func (g *PackageLoader) GetOneRaw(pkgName, name string) (types.Object, error)

Jump to

Keyboard shortcuts

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