databasedi

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(dp *di.DependencyProvider, db *sqlx.DB)

func RegisterFromConfig

func RegisterFromConfig(ctx context.Context, dp *di.DependencyProvider, cfg dialects.Config, migrations *migrate.Migrations) error

Types

type Read

type Read func(func(tx *sqlx.Tx) error) error

type Update

type Update func(func(tx *sqlx.Tx) error) error

Jump to

Keyboard shortcuts

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