package
0.22.0
Repository: https://github.com/mokiat/lacking.git
Documentation: pkg.go.dev

# Functions

AccumActionChange is similar to ActionChange except that it is also extendable.
ActionChange returns a Change that is based on the specified forward and reverse actions.
CombinedChange creates a composite change off of a number of smaller changes.
NewHistory creates a new History instance with the specified capacity, which determines the maximum amount of changes that will be tracked.

# Structs

History tracks the sequence of changes and allows for undo and redo.

# Interfaces

Change represents a state change.
ExtendableChange represents a change that can be extended (e.g.

# Type aliases

Action represents a single unit for work.