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