Versions in this module Expand all Collapse all v1 v1.0.1 Mar 10, 2019 Changes in this version + type MyDBMock struct + Database string + Host string + MockID int64 + MockRow *di.DbRow + MockRows *di.DbRows + MockSuccess bool + Password string + User string + func (m *MyDBMock) Close() bool + func (m *MyDBMock) Connect() bool + func (m *MyDBMock) Delete(query string, args ...interface{}) bool + func (m *MyDBMock) Get(query string, args ...interface{}) *di.DbRow + func (m *MyDBMock) GetList(query string, args ...interface{}) *di.DbRows + func (m *MyDBMock) Insert(query string, args ...interface{}) (bool, int64) + func (m *MyDBMock) Test(query string, args ...interface{}) *di.DbRow + func (m *MyDBMock) Update(query string, args ...interface{}) bool v1.0.0 Mar 10, 2019 Changes in this version + type MyDB struct + Database string + Host string + Password string + User string + func (m *MyDB) Close() bool + func (m *MyDB) Connect() bool + func (m *MyDB) Delete(query string, args ...interface{}) bool + func (m *MyDB) Get(query string, args ...interface{}) *di.DbRow + func (m *MyDB) GetList(query string, args ...interface{}) *di.DbRows + func (m *MyDB) Insert(query string, args ...interface{}) (bool, int64) + func (m *MyDB) Test(query string, args ...interface{}) *di.DbRow + func (m *MyDB) Update(query string, args ...interface{}) bool