database

package
v0.0.0-...-be2aeb8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(ctx context.Context, dsn string, log logrus.FieldLogger) (querier gensql.Querier, closer func(), err error)

NewQuerier connects to the database, runs migrations and returns a querier instance. The caller must call the returned closer function when the database connection is no longer needed

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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