Documentation ¶
Index ¶
- type MockDB
- func (_m *MockDB) Begin() (transaction.Transaction, error)
- func (_m *MockDB) Close()
- func (_m *MockDB) Connect(_param0 string, _param1 string, _param2 int) error
- func (_m *MockDB) DropTable(_param0 *schema.Schema) error
- func (_m *MockDB) EXPECT() *_MockDBRecorder
- func (_m *MockDB) RegisterTable(_param0 *schema.Schema, _param1 bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDB ¶
type MockDB struct {
// contains filtered or unexported fields
}
Mock of DB interface
func NewMockDB ¶
func NewMockDB(ctrl *gomock.Controller) *MockDB
func (*MockDB) Begin ¶
func (_m *MockDB) Begin() (transaction.Transaction, error)
Click to show internal directories.
Click to hide internal directories.