pkgload

package
v0.0.0-...-ca4481b Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseMethodString

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

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

func (*PackageLoader) GetOne

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

func (*PackageLoader) GetOneRaw

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