testsuite

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateID

func AggregateID() string

func Test

func Test(t *testing.T, esFunc eventstoreFunc)

func TestFetcher added in v0.5.1

func TestFetcher(t *testing.T, es core.EventStore, fetcher core.Fetcher)

func TestSnapshotStore added in v0.4.0

func TestSnapshotStore(t *testing.T, ssFunc snapshotstoreFunc)

Types

type FlightTaken

type FlightTaken struct {
	MilesAdded      int
	TierPointsAdded int
}

type FrequentFlierAccountCreated

type FrequentFlierAccountCreated struct {
	AccountId         string
	OpeningMiles      int
	OpeningTierPoints int
}

type Status

type Status int

Status represents the Red, Silver or Gold tier level of a FrequentFlierAccount

const (
	StatusRed    Status = iota
	StatusSilver Status = iota
	StatusGold   Status = iota
)

type StatusMatched

type StatusMatched struct {
	NewStatus Status
}

Jump to

Keyboard shortcuts

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