pg

package
v1.76.25 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Unlicense Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open added in v1.66.1

func Open(params DBParams) (*mssqlx.DBs, error)

Open for PostgreSQL.

func Register added in v1.66.1

func Register(tracer opentracing.Tracer, logger *zap.Logger)

Register the driver for PostgreSQL.

Types

type Config

type Config struct {
	config.Config `yaml:",inline"`
}

Config for SQL.

type DBParams added in v1.65.0

type DBParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *Config
	Version   version.Version
}

DBParams for PostgreSQL.

Directories

Path Synopsis
trace

Jump to

Keyboard shortcuts

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