Documentation ¶ Index ¶ Variables type Mssql func GetMssqlDB() *Mssql func (db *Mssql) Exec(query string, args ...interface{}) sql.Result func (db *Mssql) InitDB(cfglist map[string]config.Database) func (db *Mssql) Query(query string, args ...interface{}) ([]map[string]interface{}, *sql.Rows) Constants ¶ This section is empty. Variables ¶ View Source var DB = Mssql{ SqlDBmap: map[string]*sql.DB{}, } Functions ¶ This section is empty. Types ¶ type Mssql ¶ type Mssql struct { SqlDBmap map[string]*sql.DB Once sync.Once } func GetMssqlDB ¶ func GetMssqlDB() *Mssql func (*Mssql) Exec ¶ func (db *Mssql) Exec(query string, args ...interface{}) sql.Result func (*Mssql) InitDB ¶ func (db *Mssql) InitDB(cfglist map[string]config.Database) func (*Mssql) Query ¶ func (db *Mssql) Query(query string, args ...interface{}) ([]map[string]interface{}, *sql.Rows) Source Files ¶ View all Source files mssql.go Click to show internal directories. Click to hide internal directories.