postgres

package
v0.0.0-...-b11c152 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(connection string) db.Driver

Open sets the given connection to be backed by a postgres connection with the given options.

Types

type Error

type Error struct {
	Query string
	// contains filtered or unexported fields
}

Error wraps an error and a query.

func (Error) Error

func (err Error) Error() string

Error returns an error string.

func (Error) Unwrap

func (err Error) Unwrap() error

Unwrap returns the internal error of the Error.

Jump to

Keyboard shortcuts

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