package
0.0.0-20180916153532-cd49cae52c90
Repository: https://github.com/mangohacks/mango2019-api.git
Documentation: pkg.go.dev

# Functions

New returns a new connection to the specified PostgreSQL database.

# Variables

ErrDuplicate refers to an error generated when a unique constraint is violated.
PostgreSQL Credentials .
PostgreSQL Queries These are the queries used to read and modify the database.
PostgreSQL Credentials These are the credentials necessary to initialize a connection with the database.
PostgreSQL Credentials These are the credentials necessary to initialize a connection with the database.
PostgreSQL Credentials These are the credentials necessary to initialize a connection with the database.
PostgresDeletePreregistrationQuery is the query used to delete a preregistration from the preregistrations table.
PostgresInsertPreregistrationQuery is the query used to insert into the preregistrations table.
PostgresSelectPreregistrationsQuery is the query used to select all preregistrations from the preregistrations table.

# Structs

DB wraps the underlying database connection, allowing for methods to be executed through it.