postgres

package
v0.0.0-...-d9bd0eb Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: LGPL-2.1 Imports: 5 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostgres

func NewPostgres(cfg Config) *sql.DB

Types

type Config

type Config struct {
	Logger zerolog.Logger

	Hostname string
	Port     uint64
	Database string
	User     string
	Password string
}

Jump to

Keyboard shortcuts

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