package
Version:
v0.0.0-...-3295dff
Opens a new window with list of versions in this module.
Published: Feb 15, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
global database (pooling provided by SQL driver)
func Init(confFunc func(conf *Config))
type Config struct {
MigrationsPath string
ConnectString string
MaxIdleCons int
MaxOpenCons int
}
ConnectString should look something like "dbname=dat_test user=dat password=!test host=localhost sslmode=disable"
Source Files
¶
Directories
¶
This package provides a default mysql init.
|
This package provides a default mysql init. |
Click to show internal directories.
Click to hide internal directories.