package
Version:
v0.0.0-...-c6b88f6
Opens a new window with list of versions in this module.
Published: Jan 29, 2016
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
MYSQL = "mysql"
PGSQL = "postgres"
SQLITE = "sqlite3"
)
Values for driver but only MYSQL used yet
func Add(connName, driverName, dataSourceName string) error
Add connection to a pool of connections
Conn represents single connection to DB
Use established connection from the pool.
Driver represents type of a database
Source Files
¶
Click to show internal directories.
Click to hide internal directories.