Documentation ¶
Index ¶
- func Establish(module container.Module) (*gorm.DB, error)
- func NewBigQueryModule(projectId, dataset string) (container.Module, error)
- func NewMysqlModule(host string, port int, username, password, database string) (container.Module, error)
- func NewPgModule(host string, port int, username, password, database string) (container.Module, error)
- func NewPgModuleWithSsl(host string, port int, username, password, database string) (container.Module, error)
- func NewPgPoolModule(host string, port int, username, password, database string) (container.Module, error)
- func NewPgPoolModuleWithSsl(host string, port int, username, password, database string) (container.Module, error)
- type Db
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBigQueryModule ¶
func NewMysqlModule ¶
func NewPgModule ¶
func NewPgModuleWithSsl ¶
func NewPgPoolModule ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.