transfer

package
v0.0.0-...-5927a11 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(db *pgxpool.Pool) *Repository

func (Repository) CreateTransfer

func (r Repository) CreateTransfer(ctx context.Context, transfer entities.Transfer, accountID string) error

func (Repository) GetTransfersByAccountID

func (r Repository) GetTransfersByAccountID(ctx context.Context, accountID string) ([]entities.Transfer, error)

Jump to

Keyboard shortcuts

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