ref

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aggregates

func Aggregates(name string, refs ...aggregate.Ref) []uuid.UUID

Aggregates filters the provided aggregate.Ref slice by the given name, and returns a slice of unique uuid.UUID IDs of the matching aggregates.

func IDs

func IDs(refs ...aggregate.Ref) []uuid.UUID

IDs returns a slice of unique UUIDs extracted from the provided [aggregate.Ref]s. It ignores any empty (uuid.Nil) IDs.

func Names

func Names(refs ...aggregate.Ref) []string

Names returns a slice of unique names of the given aggregate references. The order of names in the returned slice is the order in which they appear in the input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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