package
0.1.26
Repository: https://github.com/playerr9/go-commons.git
Documentation: pkg.go.dev

# Functions

Execute returns a sequence of subjects that can be reached by applying events from the history to the subjects, where the history is updated by adding events to the history, and the subjects are updated by applying events to the subjects.
NewHistory creates a new history.
NewPair creates a new pair from the given history and subject.

# Variables

HistoryEnded is returned when the history has ended.
SubjectHasError is returned when the subject has an error.
SubjectIsDone is returned when the subject is done.

# Structs

History is a stack of events that can be replayed.
Pair is a pair of a subject and a history.

# Interfaces

Subjecter is an interface for a subject.