dsn

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Database = "database"
	User     = "user"
	Password = "password"
	Host     = "host"
	Port     = "port"
)

Variables

This section is empty.

Functions

func ParseDSN

func ParseDSN(driverName, dsn string) (meta map[string]string, err error)

ParseDSN parses postgres/pgx DSNs into a map of key/value pairs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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