Versions in this module Expand all Collapse all v1 v1.0.0 Jul 17, 2018 Changes in this version + type MockDB struct + func NewMockDB(ctrl *gomock.Controller) *MockDB + func (m *MockDB) Begin() (transaction.Transaction, error) + func (m *MockDB) BeginTx(ctx context.Context, options *transaction.TxOptions) (transaction.Transaction, error) + func (m *MockDB) Close() + func (m *MockDB) Connect(arg0, arg1 string, arg2 int) error + func (m *MockDB) DropTable(arg0 *schema.Schema) error + func (m *MockDB) EXPECT() *MockDBMockRecorder + func (m *MockDB) Options() options.Options + func (m *MockDB) RegisterTable(s *schema.Schema, cascade, migrate bool) error + type MockDBMockRecorder struct + func (mr *MockDBMockRecorder) Begin() *gomock.Call + func (mr *MockDBMockRecorder) BeginTx(ctx, options interface{}) *gomock.Call + func (mr *MockDBMockRecorder) Close() *gomock.Call + func (mr *MockDBMockRecorder) Connect(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) DropTable(arg0 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) Options() *gomock.Call + func (mr *MockDBMockRecorder) RegisterTable(s, cascade, migrate interface{}) *gomock.Call