database

package
v0.0.0-...-256a0be Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnection

func GetConnection() *sqlx.DB

GetConnection will return a connection to the database

func GetGoqu

func GetGoqu() *goqu.Database

GetGoqu will return a goqu type for goqu queries.

func GetSimpleConnection

func GetSimpleConnection() *sql.DB

GetSimpleConnection will return a simple SQL connection.

func SetupConnection

func SetupConnection(config config.Database)

SetupConnection will setup connections and store them in a connection pool

Types

This section is empty.

Jump to

Keyboard shortcuts

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