Documentation ¶
Index ¶
Constants ¶
View Source
const (
SIZE = 16
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Award ¶
type Award struct {
// contains filtered or unexported fields
}
func (*Award) FiftyPercentage ¶
func (*Award) OnePercentage ¶
func (*Award) PickLeftChild ¶
func (a *Award) PickLeftChild()
func (*Award) PickRightChild ¶
func (a *Award) PickRightChild()
func (*Award) TwentyPercentage ¶
type ChildAction ¶
type ChildAction struct {
// contains filtered or unexported fields
}
func NewDummyChildAction ¶
func NewDummyChildAction() *ChildAction
type Options ¶
type Options func(*Award)
func WithLeftChildAction ¶
func WithLeftChildAction(one, twenty, eighty func()) Options
func WithNoAwardAction ¶
func WithNoAwardAction(one func()) Options
func WithOneAction ¶
func WithOneAction(one func()) Options
func WithRightChildAction ¶
func WithRightChildAction(one, twenty, eighty func()) Options
Click to show internal directories.
Click to hide internal directories.