Documentation ¶
Index ¶
- func GetTypeSpec(decl ast.Decl) (ts *ast.TypeSpec, err error)
- func ImportPath(file string) string
- func ParseInterface(ts *ast.TypeSpec, pkgName, file string, imports []*ast.ImportSpec) (i model.InterfaceResult, err error)
- func ParseInterfaceAtPosition(fset *token.FileSet, file *ast.File, startLine int) (i model.InterfaceResult, err error)
- func ParseInterfaceInFile(file *ast.File, interfaceName, path string) (i model.InterfaceResult, err error)
- func ParseInterfaceInPackage(pkg *ast.Package, interfaceName string) (i model.InterfaceResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportPath ¶
func ParseInterface ¶
func ParseInterface(ts *ast.TypeSpec, pkgName, file string, imports []*ast.ImportSpec) (i model.InterfaceResult, err error)
func ParseInterfaceInFile ¶
func ParseInterfaceInPackage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.