postgresql

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

DB allows for interface methods. It just holds a connection pointer.

func New

func New(connString string) (db DB, err error)

New returns a Postgres database connection.

func (*DB) ImportDump

func (db *DB) ImportDump(dumpFile string) error

ImportDump imports a SQL dump file.

Jump to

Keyboard shortcuts

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