ref

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package ref provides utilities for working with aggregate.Ref.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aggregates

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

Aggregates extracts the IDs of the given Tuples that have the Name name. Nil-UUIDs are not included and duplicates are removed.

func IDs

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

IDs extracts the IDs of the given Tuples. Nil-UUIDs are not included and duplicates are removed.

func Names

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

Names extracts the Names of the given Tuples. Empty names are not included and duplicates are removed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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