Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonRequirement ¶
type CommonRequirement struct {
// contains filtered or unexported fields
}
func NewCommonRequirement ¶
func NewCommonRequirement(requirement func() bool) CommonRequirement
func (CommonRequirement) Satisfied ¶
func (cr CommonRequirement) Satisfied() bool
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func NewElement ¶
func NewElement(action func(), requirements ...Requirement) Element
type Requirement ¶
type Requirement interface {
Satisfied() bool
}
Click to show internal directories.
Click to hide internal directories.