wishlistregistrations

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Upsert(ctx context.Context, tx postgres.DBTX, params UpsertParams) (*WishlistRegistration, error)
	DeleteExpired(ctx context.Context, tx postgres.DBTX, cutoff time.Time) (int64, error)
}

func NewRepository

func NewRepository() Repository

NewRepository creates the SQLC-backed wishlist registration repository.

type UpsertParams

type UpsertParams struct {
	WorkEmail                   string
	CareMostAbout               model.WishlistFocus
	CommunicationRequestVersion string
	WorkflowToTestFirst         string
}

type WishlistRegistration

type WishlistRegistration struct {
	WorkEmail                   string
	CareMostAbout               model.WishlistFocus
	CommunicationRequestVersion string
	WorkflowToTestFirst         string
	CreatedAt                   time.Time
	UpdatedAt                   time.Time
}

Jump to

Keyboard shortcuts

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