package memento
import "kaiju/editor/memento"
Types
History
struct
type History struct {
// Has unexported fields.
}
NewHistory
func NewHistory(limit int) History
History.Add
func (h *History) Add(m Memento)
History.Clear
func (h *History) Clear()
History.Redo
History.Undo
Memento
interface
type Memento interface {
Redo()
Undo()
Delete()
Exit()
}