db

package
v0.0.0-...-4673371 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: EUPL-1.2 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Migrations embed.FS

Functions

func InitDatabase

func InitDatabase(uri string) *querierImpl

func NewQuerier

func NewQuerier(pool *pgxpool.Pool) *querierImpl

Types

type TransactionQuerier

type TransactionQuerier interface {
	queries.Querier

	StartTransaction(ctx context.Context) (TransactionQuerier, error)
	EndTransaction(ctx context.Context, rollback bool) error
}

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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