index

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2017 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index map[string]def.Definition

Index struct

func (Index) Coerce

func (i Index) Coerce(pkgname, kind string) (string, error)

Coerce the type

func (Index) Find

func (i Index) Find(id string) def.Definition

Find a definition by it's type

func (Index) FindByKind

func (i Index) FindByKind(kinds ...string) (defs []def.Definition)

FindByKind finds definitions by it's kind

Jump to

Keyboard shortcuts

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