Documentation ¶
Index ¶
Examples ¶
Constants ¶
View Source
const ( Check = "check" Choices = "options" Class = "class" Colour = "colour" Help = "helpUrl" Input = "input" InputsInline = "inputsInline" Max = "max" Min = "min" Mutator = "mutator" Name = "name" Next = "nextStatement" Output = "output" Precision = "precision" Prev = "previousStatement" Text = "text" Tooltip = "tooltip" Type = "type" Value = "value" // custom options Decor = "decor" )
Variables ¶
This section is empty.
Functions ¶
func Args ¶
block dict key for a group of args args are zero indexed
Example ¶
fmt.Println(Args(0), Args(1))
Output: args0 args1
func InputOption ¶
func InputOption(src interface { Lookup(key string) (ret string, okay bool) }) (ret string, okay bool)
extract the desired blockly input type ( a string name ) from a dictionary of struct tags. w/o a tag, we wind up with an "input value" ( a generic term ) fix? if really needed to decouple this, could have an "input" factory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.