Documentation ¶
Index ¶
- type TransactionRepository
- func (t TransactionRepository) CreateTransaction(ctx context.Context, trans *entity.Transaction) error
- func (t TransactionRepository) DeleteTransaction(ctx context.Context, transId string) error
- func (t TransactionRepository) GetDetailTransaction(ctx context.Context, filter *entity.GeneralFilter) (*entity.TransactionDto, error)
- func (t TransactionRepository) GetListTransaction(ctx context.Context, filter *entity.GeneralFilter) ([]*entity.TransactionDto, error)
- func (t TransactionRepository) UpdateTransaction(ctx context.Context, trans *entity.Transaction) error
- type TransactionRepositoryFactory
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 ¶
func (*TransactionRepositoryFactory) Create ¶
func (prod *TransactionRepositoryFactory) Create() repository.TransactionRepositoryInterface
Source Files ¶
Click to show internal directories.
Click to hide internal directories.