database

package
v0.0.0-...-24a0202 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB(dbInfos *config.DBConnectInfos) (*gorm.DB, error)

func Rows

func Rows(db *gorm.DB, connectInfos *config.DBConnectInfos, filename string, params ...interface{}) (*sql.Rows, error)

Types

type DBConnectInfos

type DBConnectInfos struct {
	Dialect      string
	URL          string
	MaxIdelConns int
	MaxOpenConns int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL