pick

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateID

func AggregateID(p AggregateProvider) uuid.UUID

AggregateID returns the id that is returned by p.Aggregate().

func AggregateName

func AggregateName(p AggregateProvider) string

AggregateName returns the name that is returned by p.Aggregate().

func AggregateVersion

func AggregateVersion(p AggregateProvider) int

AggregateVersion returns the version that is returned by p.Aggregate().

Types

type AggregateProvider

type AggregateProvider interface {
	Aggregate() (uuid.UUID, string, int)
}

An AggregateProvider has an Aggregate() (uuid.UUID, string, int) method. aggregate.Aggregate and event.Event implement this interface.

Jump to

Keyboard shortcuts

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