database

package
v0.0.0-...-ffd3783 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RandomAffirmationRepository

type RandomAffirmationRepository struct {
	// contains filtered or unexported fields
}

func NewRandomAffirmationRepository

func NewRandomAffirmationRepository(db *database.DB) *RandomAffirmationRepository

func (*RandomAffirmationRepository) GetRandomAffirmations

func (r *RandomAffirmationRepository) GetRandomAffirmations(ctx context.Context, categoryIds []ulid.ULID) ([]*domain.RandomAffirmation, error)

Jump to

Keyboard shortcuts

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