Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DSN ¶
func DSN(mi PostgreInfo) string
DSN returns the Data Source Name postgres://username:password@localhost:port/db_name?sslmode=disable
Types ¶
type Info ¶
type Info struct {
// Database type
Type Type
// Postgre info if used
Postgre PostgreInfo
}
Info contains the database configurations
Click to show internal directories.
Click to hide internal directories.