Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectPool ¶
func ConnectPool(conf config.ConfPostgres) (*pgxpool.Pool, error)
ConnectPool connects do Postgres and returns a *pgxPool.Pool.
func NewAccountRepository ¶
func NewAccountRepository(db *pgxpool.Pool) repository.AccountRepository
NewAccountRepository instantiates a new account postgres repository.
func NewTransferRepository ¶
func NewTransferRepository(db *pgxpool.Pool) repository.TransferRepository
NewTransferRepository instantiates a new transfer postgres repository.
func RunMigrations ¶
RunMigrations executes the database migrations all the way up.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.