states

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	A = "A"
	B = "B"
	C = "C"
	D = "D"
)

Variables

View Source
var Names = S{
	am.Exception,
	A,
	B,
	C,
	D,
}

Names is an ordered list of all the state names.

View Source
var States = am.Struct{
	A: {
		Auto:    true,
		Require: S{C},
	},
	B: {
		Multi: true,
		Add:   S{C},
	},
	C: {
		After: S{D},
	},
	D: {
		Add: S{C, B},
	},
}

States map defines relations and properties of states.

Functions

This section is empty.

Types

type S

type S = am.S

S is a type alias for a list of state names.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL