data

package
v0.0.0-...-cd4e935 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustConnectPostgres

func MustConnectPostgres(ctx context.Context, conf *config.Config) *sql.DB

func MustMigrate

func MustMigrate(connection *sql.DB)

Types

type Data

type Data struct {
	Ctx context.Context
	// contains filtered or unexported fields
}

func NewData

func NewData(ctx context.Context, db *sql.DB) *Data

func (*Data) Master

func (r *Data) Master() *sql.DB

Jump to

Keyboard shortcuts

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