Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateParamTypes ¶
UpdateParamTypes updates types in description of a component based return values of the constructor.
Types ¶
type Component ¶
type Component struct { Name string Stage api.ElementStage Constructor func() interface{} Description Description }
Component is an antha component / element.
func (*Component) NewParams ¶
NewParams returns new objects instances for each input and output parameter.
If a component has parameters:
Parameters ( String string Number int ) Data(...) Inputs(...) Outputs(...)
The result of NewParams will be:
map[string]interface{} { "String": new(string), "Number": new(int), ... }
type Description ¶
Description is a description of a component.
Click to show internal directories.
Click to hide internal directories.