repository

package
v0.0.0-...-94edc7f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Voucher

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

func NewVoucher

func NewVoucher() *Voucher

func (*Voucher) Create

func (r *Voucher) Create(_ context.Context, voucher *model.Voucher) (*model.Voucher, error)

func (*Voucher) GetByUserID

func (r *Voucher) GetByUserID(_ context.Context, id int64) (*model.Voucher, error)

Jump to

Keyboard shortcuts

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