core

package
v0.0.0-...-61e3c9a Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface {
	EventName() string
}

Event is a domain event marker.

type Group

type Group struct {
	ID   uuid.UUID
	Name string
}

Group is an entity that represents a group in all domains.

func NewGroup

func NewGroup(name string) Group

NewGroup factory for creating a new group.

type Person

type Person struct {
	ID   uuid.UUID
	Name string
}

Person is an entity that represents a person in all domains.

func NewPerson

func NewPerson(name string) Person

NewPerson factory for creating a new person.

Jump to

Keyboard shortcuts

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