db

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"db",
	fx.Provide(
		NewEntClient,
		New,
	))

Functions

func NewEntClient

func NewEntClient(cfg config.DB) *gen.Client

NewEntClient инициализируем entClient

Types

type DB

type DB struct {
	Default *pgxpool.Pool
}

func New

func New(cfg config.DB) *DB

Jump to

Keyboard shortcuts

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