glue

package
v0.0.0-...-ce71dfa Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2012 License: BSD-2-Clause-Views Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Descriptor

type Descriptor struct {
	Route        *lang.Route
	Sentence     *lang.Sentence
	VerbLocation string // Name of the module with the verb.
	// contains filtered or unexported fields
}

func Identify

func Identify(path string, nouns map[string]interface{}, inp map[string]interface{}) (*Descriptor, error)

func (*Descriptor) CreateInputs

func (d *Descriptor) CreateInputs(filterCreator func(string, map[string]interface{}) (iface.Filter, error)) ([]interface{}, map[string]interface{}, error)

Returns error if input is not valid according to the rules found in d.nouns

Jump to

Keyboard shortcuts

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