Documentation
¶
Overview ¶
Package kind names the kinds of value an action returns, as an expression reads them once the runner has received them, so that probe check can tell what an expression does with a field before the workflow runs.
Index ¶
Constants ¶
const ( Number = "number" String = "string" Bool = "bool" Map = "map" List = "list" )
The kinds of value, as they are named where a kind is given as text, as probe.CheckOptions takes them. A whole number and one with a fraction are both a number: an action sends its numbers as one kind, and the runner receives those that are whole as integers. Any other name, the empty one included, is of a value that may be of any kind.
Variables ¶
This section is empty.
Functions ¶
func Fields ¶
Fields returns the kinds of the fields of v, a struct or a pointer to one, by the names their map tags give, as an action that returns the struct sends them: a number for a field of a number type, a string for one of string, []byte, time.Duration or time.Time, which are sent as text, a bool for one of bool, a list for a slice or an array, and a map for a map or a struct. A field of an interface type, which may hold anything, is left out, as is a field without a tag.
Types ¶
This section is empty.