util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set[T event.Type | intent.Type | opcode.Type | command.Type] map[T]struct{}

func (Set[T]) Add

func (s Set[T]) Add(elements ...T)

func (Set[T]) Contains

func (s Set[T]) Contains(element T) bool

func (Set[T]) Remove

func (s Set[T]) Remove(events ...T)

func (Set[T]) ToSlice

func (s Set[T]) ToSlice() []T

Jump to

Keyboard shortcuts

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