Discover Packages
github.com/omie/messages
lib
db
package
Version:
v0.0.0-...-4d7690c
Opens a new window with list of versions in this module.
Published: Jun 11, 2016
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
returns a new connection to the database
returns sql.DB instance on success or returns error
checks if local database exists, saves the references for use if it does
param: driver: string: sql driver name
param: dbname: string: database name
returns error or nil
Source Files
¶
Click to show internal directories.
Click to hide internal directories.