sql

package
v1.86.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Unlicense Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// PostgreSQLModule for fx.
	PostgreSQLModule = fx.Options(
		fx.Provide(pg.Open),
		fx.Invoke(pg.Register),
	)

	// PostgreSQLOTELModule for fx.
	PostgreSQLOTELModule = fx.Provide(otel.NewTracer)
)

Functions

This section is empty.

Types

type Config

type Config struct {
	PG pg.Config `yaml:"pg" json:"pg" toml:"pg"`
}

Config for sql.

Directories

Path Synopsis
zap
metrics
pg

Jump to

Keyboard shortcuts

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