postgres

package
v0.0.0-...-f5e8e9b Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrationDown

func MigrationDown(db *sql.DB) error

func MigrationUp

func MigrationUp(db *sql.DB) error

func New

func New(opt *Options, auth auth.Auth) (*sql.DB, error)

Types

type Options

type Options struct {
	Host, Port, Db, User, Password string
}

Jump to

Keyboard shortcuts

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