repository

package
v0.0.0-...-ebdf8ee Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionRepository

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

func (TransactionRepository) CreateTransaction

func (t TransactionRepository) CreateTransaction(ctx context.Context, trans *entity.Transaction) error

func (TransactionRepository) DeleteTransaction

func (t TransactionRepository) DeleteTransaction(ctx context.Context, transId string) error

func (TransactionRepository) GetDetailTransaction

func (t TransactionRepository) GetDetailTransaction(ctx context.Context, filter *entity.GeneralFilter) (*entity.TransactionDto, error)

func (TransactionRepository) GetListTransaction

func (t TransactionRepository) GetListTransaction(ctx context.Context, filter *entity.GeneralFilter) ([]*entity.TransactionDto, error)

func (TransactionRepository) UpdateTransaction

func (t TransactionRepository) UpdateTransaction(ctx context.Context, trans *entity.Transaction) error

type TransactionRepositoryFactory

type TransactionRepositoryFactory struct {
	Db gorm.DB
}

func (*TransactionRepositoryFactory) Create

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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