db

package
v0.0.0-...-a89e0f0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package db provides a postgresql connection pool.

Index

Constants

This section is empty.

Variables

Conn is a global threadsafe postgresql database handle.

Functions

func Close

func Close()

Close closes the database connection.

func NotFound

func NotFound(err error) bool

func Start

func Start(connString string) (err error)

Start connects to a postgres database and schema when it doesn't exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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