postgres

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransferRepository

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

func NewTransferRepository

func NewTransferRepository(db *sql.DB) *TransferRepository

func (*TransferRepository) Create

func (*TransferRepository) GetAllByWalletID

func (tr *TransferRepository) GetAllByWalletID(ctx context.Context, walletID string) ([]repository.DBTransfer, error)

type WalletRepository

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

func NewWalletRepository

func NewWalletRepository(db *sql.DB) *WalletRepository

func (*WalletRepository) Create

func (*WalletRepository) GetByWalletID

func (w *WalletRepository) GetByWalletID(ctx context.Context, walletID string) (*repository.DBWallet, error)

Jump to

Keyboard shortcuts

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