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
Click to show internal directories.
Click to hide internal directories.