Documentation
¶
Overview ¶
The `types` package implements variable types which can be used in configurations. The supported types are `String`, `Duration`, `Int`, `UInt`, `Float`, `Bool` and `Task`. The `Task` type can either be a reference to a task by name, or instance. Binding from reference to an instance is done after configurations are parsed.
Index ¶
Constants ¶
View Source
const (
ReIdentifier = `[a-zA-Z][a-zA-Z0-9_\-]*`
)
Variables ¶
This section is empty.
Functions ¶
func IsIdentifier ¶
Return true if the string is a valid identifier
Types ¶
type Duration ¶
func (*Duration) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.