Documentation ¶
Index ¶
- type TransactionRepositoryDb
- func (t *TransactionRepositoryDb) CreateCreditCard(creditCard domain.CreditCard) error
- func (t *TransactionRepositoryDb) GetCreditCard(creditCard domain.CreditCard) (domain.CreditCard, error)
- func (t *TransactionRepositoryDb) SaveTransaction(transaction domain.Transaction, creditCard domain.CreditCard) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionRepositoryDb ¶
type TransactionRepositoryDb struct {
// contains filtered or unexported fields
}
func NewTransactionRepositoryDb ¶
func NewTransactionRepositoryDb(db *sql.DB) *TransactionRepositoryDb
func (*TransactionRepositoryDb) CreateCreditCard ¶
func (t *TransactionRepositoryDb) CreateCreditCard(creditCard domain.CreditCard) error
func (*TransactionRepositoryDb) GetCreditCard ¶
func (t *TransactionRepositoryDb) GetCreditCard(creditCard domain.CreditCard) (domain.CreditCard, error)
func (*TransactionRepositoryDb) SaveTransaction ¶
func (t *TransactionRepositoryDb) SaveTransaction(transaction domain.Transaction, creditCard domain.CreditCard) error
Click to show internal directories.
Click to hide internal directories.