esgallery

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Aggregate = "gallery"

Aggregate is the name of the *Gallery aggregate.

Variables

This section is empty.

Functions

Types

type Gallery struct {
	*aggregate.Base
	*esgallery.Gallery[uuid.UUID, uuid.UUID, *Gallery]
}

Gallery is an image gallery.

func NewGallery

func NewGallery(id uuid.UUID) *Gallery

NewGallery returns a new image gallery.

type Repository

type Repository = aggregate.TypedRepository[*Gallery]

Repository is the *Gallery repository.

Jump to

Keyboard shortcuts

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