entity

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

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

func NewCode

func NewCode(mainPkgPath, domain string) (*Code, error)

func (*Code) MainPkgPath added in v0.2.0

func (c *Code) MainPkgPath() string

func (*Code) VisitDeep

func (c *Code) VisitDeep(handler code.Handler) error

func (*Code) VisitFast

func (c *Code) VisitFast(handler code.Handler) error

type Go

type Go struct {
	Path          string
	DomainPkgPath string
	Initial       []*packages.Package
	// contains filtered or unexported fields
}

func (*Go) CallGraph

func (golang *Go) CallGraph(linkCB code.LinkCB, mode code.CallGraphMode) error

func (*Go) InterfaceImplements

func (golang *Go) InterfaceImplements(linkCB code.LinkCB)

func (*Go) Load

func (golang *Go) Load() error

func (*Go) MainPkgPath added in v0.2.0

func (golang *Go) MainPkgPath() string

func (*Go) VisitFile

func (golang *Go) VisitFile(nodeCB code.NodeCB, linkCB code.LinkCB)

Jump to

Keyboard shortcuts

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