internal

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExGoType

type ExGoType struct {
	Renderer     Renderer
	IncludeUnexp bool
	// contains filtered or unexported fields
}

ExGoType ...

func (*ExGoType) Export

func (t *ExGoType) Export(w io.Writer, m TypeMap) error

Export ...

type FilterFunc

type FilterFunc func(string) bool

FilterFunc ...

func CreateFilterFunc

func CreateFilterFunc(list []string) FilterFunc

CreateFilterFunc ...

type LoaderFunc

type LoaderFunc func(*packages.Config, ...string) ([]*packages.Package, error)

LoaderFunc ...

type Renderer

type Renderer interface {
	Render(w io.Writer, m ViewMap) error
}

Renderer ...

type TreeView

type TreeView struct{}

TreeView ...

func (*TreeView) Render

func (*TreeView) Render(w io.Writer, m ViewMap) error

Render ...

type TypeGrep

type TypeGrep struct {
	LoaderFunc LoaderFunc
	FilterFunc FilterFunc

	IncludeTests bool
	IncludeUnexp bool
	// contains filtered or unexported fields
}

TypeGrep ...

func (*TypeGrep) Grep

func (t *TypeGrep) Grep(pkgPaths ...string) (TypeMap, error)

Grep ...

type TypeMap

type TypeMap map[string]types.Type

TypeMap ...

type ViewMap

type ViewMap map[string]string

ViewMap ...

Jump to

Keyboard shortcuts

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