package
Version:
v0.0.0-...-e4becfe
Opens a new window with list of versions in this module.
Published: Dec 29, 2016
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ConnectionStringToGormString(connectionString string) (adapter string, gormString string)
Convert Postgres connection string to Gorm string
GetDatabase returns a database handler for a given type.
type Manager interface {
Setup(connectionString string) *gorm.DB
}
Manager is an abstraction to get different DB implementations
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.