visitors

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFile

func GetFile(fileath string, v ast.Visitor) (string, error)

func Load

func Load(ctx context.Context, wd string, env []string, patterns []string) ([]*packages.Package, []error)

Types

type LoadStruct

type LoadStruct struct{}

func (*LoadStruct) GetStructs

func (v *LoadStruct) GetStructs(pkgPath, partern string) (result []string)

type WireVisitor

type WireVisitor struct {
}

func (*WireVisitor) Visit

func (v *WireVisitor) Visit(node ast.Node) ast.Visitor

Jump to

Keyboard shortcuts

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