lookup

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindImportByAlias

func FindImportByAlias(m module.Module, file *ast.File, alias string) (string, bool)

func FindTypeByImport

func FindTypeByImport(m module.Module, importPath, typeName string) (ast2.Node, []ast2.Node, *ast2.File, string, error)

FindTypeByImport search for type/function/method (typeName) that declared in module.Module and located in importPath

func FindTypeInDir

func FindTypeInDir(m module.Module, dir, typeName string) (ast2.Node, []ast2.Node, *ast2.File, string, error)

FindTypeInDir search for type/function/method (typeName) that declared in module.Module and located in dir

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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