inspect

package
v0.0.0-...-f670af2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inspector

type Inspector struct {
	TypeHandler[*inspected.Result]
	ImportLookup map[string]string
}

func (*Inspector) Parse

func (inspector *Inspector) Parse(node ast.Node, render *inspected.Result)

type TypeHandler

type TypeHandler[Result merger[Result]] interface {
	Once() template.RendererResult
	OnEmbeddedInterface(entity inspected.Entity) Result
	OnInterfaceMethod(method inspected.Method) Result
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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