postgres

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectPool

func ConnectPool(ctx context.Context, databaseURL string) (*pgxpool.Pool, error)

ConnectPool builds a config using the url passed as argument, then creates a new pool and connects using that config.

func Migrate

func Migrate(databaseURL string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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