Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2019 Changes in this version + type MockInterface struct + func NewMockInterface(ctrl *gomock.Controller) *MockInterface + func (m *MockInterface) AddError(arg0 error) error + func (m *MockInterface) AddForeignKey(arg0, arg1, arg2, arg3 string) jorm.Interface + func (m *MockInterface) AddIndex(arg0 string, arg1 ...string) jorm.Interface + func (m *MockInterface) AddUniqueIndex(arg0 string, arg1 ...string) jorm.Interface + func (m *MockInterface) Assign(arg0 ...interface{}) jorm.Interface + func (m *MockInterface) Association(arg0 string) *gorm.Association + func (m *MockInterface) Attrs(arg0 ...interface{}) jorm.Interface + func (m *MockInterface) AutoMigrate(arg0 ...interface{}) jorm.Interface + func (m *MockInterface) Begin() jorm.Interface + func (m *MockInterface) BlockGlobalUpdate(arg0 bool) jorm.Interface + func (m *MockInterface) Callback() *gorm.Callback + func (m *MockInterface) Close() error + func (m *MockInterface) Commit() jorm.Interface + func (m *MockInterface) CommonDB() gorm.SQLCommon + func (m *MockInterface) Count(arg0 interface{}) jorm.Interface + func (m *MockInterface) Create(arg0 interface{}) jorm.Interface + func (m *MockInterface) CreateTable(arg0 ...interface{}) jorm.Interface + func (m *MockInterface) DB() *sql.DB + func (m *MockInterface) Debug() jorm.Interface + func (m *MockInterface) Delete(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Dialect() gorm.Dialect + func (m *MockInterface) DropColumn(arg0 string) jorm.Interface + func (m *MockInterface) DropTable(arg0 ...interface{}) jorm.Interface + func (m *MockInterface) DropTableIfExists(arg0 ...interface{}) jorm.Interface + func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder + func (m *MockInterface) Error() error + func (m *MockInterface) Exec(arg0 string, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Find(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) First(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) FirstOrCreate(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) FirstOrInit(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Get(arg0 string) (interface{}, bool) + func (m *MockInterface) GetErrors() []error + func (m *MockInterface) GetGormDB() *gorm.DB + func (m *MockInterface) Group(arg0 string) jorm.Interface + func (m *MockInterface) HasBlockGlobalUpdate() bool + func (m *MockInterface) HasTable(arg0 interface{}) bool + func (m *MockInterface) Having(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) InstantSet(arg0 string, arg1 interface{}) jorm.Interface + func (m *MockInterface) Joins(arg0 string, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Last(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Limit(arg0 interface{}) jorm.Interface + func (m *MockInterface) LogMode(arg0 bool) jorm.Interface + func (m *MockInterface) Model(arg0 interface{}) jorm.Interface + func (m *MockInterface) ModifyColumn(arg0, arg1 string) jorm.Interface + func (m *MockInterface) New() jorm.Interface + func (m *MockInterface) NewRecord(arg0 interface{}) bool + func (m *MockInterface) Not(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Offset(arg0 interface{}) jorm.Interface + func (m *MockInterface) Omit(arg0 ...string) jorm.Interface + func (m *MockInterface) Or(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Order(arg0 interface{}, arg1 ...bool) jorm.Interface + func (m *MockInterface) Pluck(arg0 string, arg1 interface{}) jorm.Interface + func (m *MockInterface) Preload(arg0 string, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Raw(arg0 string, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) RecordNotFound() bool + func (m *MockInterface) Related(arg0 interface{}, arg1 ...string) jorm.Interface + func (m *MockInterface) RemoveForeignKey(arg0, arg1 string) jorm.Interface + func (m *MockInterface) RemoveIndex(arg0 string) jorm.Interface + func (m *MockInterface) Rollback() jorm.Interface + func (m *MockInterface) Row() jorm.Row + func (m *MockInterface) Rows() (jorm.Rows, error) + func (m *MockInterface) RowsAffected() int64 + func (m *MockInterface) Save(arg0 interface{}) jorm.Interface + func (m *MockInterface) Scan(arg0 interface{}) jorm.Interface + func (m *MockInterface) ScanRows(arg0 *sql.Rows, arg1 interface{}) error + func (m *MockInterface) Scopes(arg0 ...func(*gorm.DB) *gorm.DB) jorm.Interface + func (m *MockInterface) Select(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Set(arg0 string, arg1 interface{}) jorm.Interface + func (m *MockInterface) SetJoinTableHandler(arg0 interface{}, arg1 string, arg2 gorm.JoinTableHandlerInterface) + func (m *MockInterface) SetLogger(arg0 mysql.Logger) + func (m *MockInterface) SingularTable(arg0 bool) + func (m *MockInterface) Table(arg0 string) jorm.Interface + func (m *MockInterface) Take(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) Unscoped() jorm.Interface + func (m *MockInterface) Update(arg0 ...interface{}) jorm.Interface + func (m *MockInterface) UpdateColumn(arg0 ...interface{}) jorm.Interface + func (m *MockInterface) UpdateColumns(arg0 interface{}) jorm.Interface + func (m *MockInterface) Updates(arg0 interface{}, arg1 ...bool) jorm.Interface + func (m *MockInterface) Value() interface{} + func (m *MockInterface) Where(arg0 interface{}, arg1 ...interface{}) jorm.Interface + func (m *MockInterface) WithContext(arg0 context.Context) jorm.Interface + type MockInterfaceMockRecorder struct + func (mr *MockInterfaceMockRecorder) AddError(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) AddForeignKey(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) AddIndex(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) AddUniqueIndex(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Assign(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Association(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Attrs(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) AutoMigrate(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Begin() *gomock.Call + func (mr *MockInterfaceMockRecorder) BlockGlobalUpdate(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Callback() *gomock.Call + func (mr *MockInterfaceMockRecorder) Close() *gomock.Call + func (mr *MockInterfaceMockRecorder) Commit() *gomock.Call + func (mr *MockInterfaceMockRecorder) CommonDB() *gomock.Call + func (mr *MockInterfaceMockRecorder) Count(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) CreateTable(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) DB() *gomock.Call + func (mr *MockInterfaceMockRecorder) Debug() *gomock.Call + func (mr *MockInterfaceMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Dialect() *gomock.Call + func (mr *MockInterfaceMockRecorder) DropColumn(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) DropTable(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) DropTableIfExists(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Error() *gomock.Call + func (mr *MockInterfaceMockRecorder) Exec(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) First(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) FirstOrCreate(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) FirstOrInit(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Get(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) GetErrors() *gomock.Call + func (mr *MockInterfaceMockRecorder) GetGormDB() *gomock.Call + func (mr *MockInterfaceMockRecorder) Group(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) HasBlockGlobalUpdate() *gomock.Call + func (mr *MockInterfaceMockRecorder) HasTable(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Having(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) InstantSet(arg0, arg1 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Joins(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Last(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Limit(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) LogMode(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Model(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) ModifyColumn(arg0, arg1 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) New() *gomock.Call + func (mr *MockInterfaceMockRecorder) NewRecord(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Not(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Offset(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Omit(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Or(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Order(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Pluck(arg0, arg1 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Preload(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Raw(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) RecordNotFound() *gomock.Call + func (mr *MockInterfaceMockRecorder) Related(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) RemoveForeignKey(arg0, arg1 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) RemoveIndex(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Rollback() *gomock.Call + func (mr *MockInterfaceMockRecorder) Row() *gomock.Call + func (mr *MockInterfaceMockRecorder) Rows() *gomock.Call + func (mr *MockInterfaceMockRecorder) RowsAffected() *gomock.Call + func (mr *MockInterfaceMockRecorder) Save(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Scan(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) ScanRows(arg0, arg1 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Scopes(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) SetJoinTableHandler(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) SetLogger(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) SingularTable(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Table(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Take(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Unscoped() *gomock.Call + func (mr *MockInterfaceMockRecorder) Update(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) UpdateColumn(arg0 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) UpdateColumns(arg0 interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Updates(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) Value() *gomock.Call + func (mr *MockInterfaceMockRecorder) Where(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockInterfaceMockRecorder) WithContext(arg0 interface{}) *gomock.Call + type MockRow struct + func NewMockRow(ctrl *gomock.Controller) *MockRow + func (m *MockRow) EXPECT() *MockRowMockRecorder + func (m *MockRow) Scan(arg0 ...interface{}) error + type MockRowMockRecorder struct + func (mr *MockRowMockRecorder) Scan(arg0 ...interface{}) *gomock.Call + type MockRows struct + func NewMockRows(ctrl *gomock.Controller) *MockRows + func (m *MockRows) Close() error + func (m *MockRows) ColumnTypes() ([]*sql.ColumnType, error) + func (m *MockRows) Columns() ([]string, error) + func (m *MockRows) EXPECT() *MockRowsMockRecorder + func (m *MockRows) Err() error + func (m *MockRows) Next() bool + func (m *MockRows) NextResultSet() bool + func (m *MockRows) Scan(arg0 ...interface{}) error + type MockRowsMockRecorder struct + func (mr *MockRowsMockRecorder) Close() *gomock.Call + func (mr *MockRowsMockRecorder) ColumnTypes() *gomock.Call + func (mr *MockRowsMockRecorder) Columns() *gomock.Call + func (mr *MockRowsMockRecorder) Err() *gomock.Call + func (mr *MockRowsMockRecorder) Next() *gomock.Call + func (mr *MockRowsMockRecorder) NextResultSet() *gomock.Call + func (mr *MockRowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call