Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomerRepository ¶
type CustomerRepository struct {
// contains filtered or unexported fields
}
func NewCustomerRepository ¶
func NewCustomerRepository(trans *transaction.Transaction[*sqlx.Tx]) CustomerRepository
type CustomerViewRepository ¶
type CustomerViewRepository struct {
// contains filtered or unexported fields
}
func NewCustomerViewRepository ¶
func NewCustomerViewRepository(db *sqlx.DB) CustomerViewRepository
func (CustomerViewRepository) GetByEmail ¶
type Registration ¶
type RegistrationRepository ¶
type RegistrationRepository struct {
// contains filtered or unexported fields
}
func NewRegistrationRepository ¶
func NewRegistrationRepository(trans *transaction.Transaction[*sqlx.Tx]) RegistrationRepository
func (RegistrationRepository) Create ¶
func (r RegistrationRepository) Create(ctx context.Context, c registration.Registration) error
func (RegistrationRepository) Update ¶
func (r RegistrationRepository) Update(ctx context.Context, id string, apply func(context.Context, *registration.Registration) error) error
Click to show internal directories.
Click to hide internal directories.