Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockConnOpener
- type MockConnOpenerMockRecorder
- type MockGormable
- func (m *MockGormable) AddError(arg0 error) error
- func (m *MockGormable) AddForeignKey(arg0, arg1, arg2, arg3 string) *gorm.DB
- func (m *MockGormable) AddIndex(arg0 string, arg1 ...string) *gorm.DB
- func (m *MockGormable) AddUniqueIndex(arg0 string, arg1 ...string) *gorm.DB
- func (m *MockGormable) Assign(arg0 ...interface{}) *gorm.DB
- func (m *MockGormable) Association(arg0 string) *gorm.Association
- func (m *MockGormable) Attrs(arg0 ...interface{}) *gorm.DB
- func (m *MockGormable) AutoMigrate(arg0 ...interface{}) *gorm.DB
- func (m *MockGormable) Begin() *gorm.DB
- func (m *MockGormable) BlockGlobalUpdate(arg0 bool) *gorm.DB
- func (m *MockGormable) Callback() *gorm.Callback
- func (m *MockGormable) Close() error
- func (m *MockGormable) Commit() *gorm.DB
- func (m *MockGormable) CommonDB() gorm.SQLCommon
- func (m *MockGormable) Count(arg0 interface{}) *gorm.DB
- func (m *MockGormable) Create(arg0 interface{}) *gorm.DB
- func (m *MockGormable) CreateTable(arg0 ...interface{}) *gorm.DB
- func (m *MockGormable) DB() *sql.DB
- func (m *MockGormable) Debug() *gorm.DB
- func (m *MockGormable) Delete(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Dialect() gorm.Dialect
- func (m *MockGormable) DropColumn(arg0 string) *gorm.DB
- func (m *MockGormable) DropTable(arg0 ...interface{}) *gorm.DB
- func (m *MockGormable) DropTableIfExists(arg0 ...interface{}) *gorm.DB
- func (m *MockGormable) EXPECT() *MockGormableMockRecorder
- func (m *MockGormable) Exec(arg0 string, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Find(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) First(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) FirstOrCreate(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) FirstOrInit(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Get(arg0 string) (interface{}, bool)
- func (m *MockGormable) GetErrors() []error
- func (m *MockGormable) Group(arg0 string) *gorm.DB
- func (m *MockGormable) HasBlockGlobalUpdate() bool
- func (m *MockGormable) HasTable(arg0 interface{}) bool
- func (m *MockGormable) Having(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) InstantSet(arg0 string, arg1 interface{}) *gorm.DB
- func (m *MockGormable) Joins(arg0 string, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Last(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Limit(arg0 interface{}) *gorm.DB
- func (m *MockGormable) LogMode(arg0 bool) *gorm.DB
- func (m *MockGormable) Model(arg0 interface{}) *gorm.DB
- func (m *MockGormable) ModifyColumn(arg0, arg1 string) *gorm.DB
- func (m *MockGormable) New() *gorm.DB
- func (m *MockGormable) NewRecord(arg0 interface{}) bool
- func (m *MockGormable) NewScope(arg0 interface{}) *gorm.Scope
- func (m *MockGormable) Not(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Offset(arg0 interface{}) *gorm.DB
- func (m *MockGormable) Omit(arg0 ...string) *gorm.DB
- func (m *MockGormable) Or(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Order(arg0 interface{}, arg1 ...bool) *gorm.DB
- func (m *MockGormable) Pluck(arg0 string, arg1 interface{}) *gorm.DB
- func (m *MockGormable) Preload(arg0 string, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Preloads(arg0 interface{}) *gorm.DB
- func (m *MockGormable) Raw(arg0 string, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) RecordNotFound() bool
- func (m *MockGormable) Related(arg0 interface{}, arg1 ...string) *gorm.DB
- func (m *MockGormable) RemoveForeignKey(arg0, arg1 string) *gorm.DB
- func (m *MockGormable) RemoveIndex(arg0 string) *gorm.DB
- func (m *MockGormable) Rollback() *gorm.DB
- func (m *MockGormable) Row() *sql.Row
- func (m *MockGormable) Rows() (*sql.Rows, error)
- func (m *MockGormable) Save(arg0 interface{}) *gorm.DB
- func (m *MockGormable) Scan(arg0 interface{}) *gorm.DB
- func (m *MockGormable) ScanRows(arg0 *sql.Rows, arg1 interface{}) error
- func (m *MockGormable) Scopes(arg0 ...func(*gorm.DB) *gorm.DB) *gorm.DB
- func (m *MockGormable) Select(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Set(arg0 string, arg1 interface{}) *gorm.DB
- func (m *MockGormable) SetJoinTableHandler(arg0 interface{}, arg1 string, arg2 gorm.JoinTableHandlerInterface)
- func (m *MockGormable) SingularTable(arg0 bool)
- func (m *MockGormable) Table(arg0 string) *gorm.DB
- func (m *MockGormable) Take(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- func (m *MockGormable) Unscoped() *gorm.DB
- func (m *MockGormable) Update(arg0 ...interface{}) *gorm.DB
- func (m *MockGormable) UpdateColumn(arg0 ...interface{}) *gorm.DB
- func (m *MockGormable) UpdateColumns(arg0 interface{}) *gorm.DB
- func (m *MockGormable) Updates(arg0 interface{}, arg1 ...bool) *gorm.DB
- func (m *MockGormable) Where(arg0 interface{}, arg1 ...interface{}) *gorm.DB
- type MockGormableMockRecorder
- func (mr *MockGormableMockRecorder) AddError(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) AddForeignKey(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) AddIndex(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) AddUniqueIndex(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Assign(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Association(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Attrs(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) AutoMigrate(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Begin() *gomock.Call
- func (mr *MockGormableMockRecorder) BlockGlobalUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Callback() *gomock.Call
- func (mr *MockGormableMockRecorder) Close() *gomock.Call
- func (mr *MockGormableMockRecorder) Commit() *gomock.Call
- func (mr *MockGormableMockRecorder) CommonDB() *gomock.Call
- func (mr *MockGormableMockRecorder) Count(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) CreateTable(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) DB() *gomock.Call
- func (mr *MockGormableMockRecorder) Debug() *gomock.Call
- func (mr *MockGormableMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Dialect() *gomock.Call
- func (mr *MockGormableMockRecorder) DropColumn(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) DropTable(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) DropTableIfExists(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Exec(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) First(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) FirstOrCreate(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) FirstOrInit(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) GetErrors() *gomock.Call
- func (mr *MockGormableMockRecorder) Group(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) HasBlockGlobalUpdate() *gomock.Call
- func (mr *MockGormableMockRecorder) HasTable(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Having(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) InstantSet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Joins(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Last(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Limit(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) LogMode(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Model(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) ModifyColumn(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) New() *gomock.Call
- func (mr *MockGormableMockRecorder) NewRecord(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) NewScope(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Not(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Offset(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Omit(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Or(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Order(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Pluck(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Preload(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Preloads(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Raw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) RecordNotFound() *gomock.Call
- func (mr *MockGormableMockRecorder) Related(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) RemoveForeignKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) RemoveIndex(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Rollback() *gomock.Call
- func (mr *MockGormableMockRecorder) Row() *gomock.Call
- func (mr *MockGormableMockRecorder) Rows() *gomock.Call
- func (mr *MockGormableMockRecorder) Save(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Scan(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) ScanRows(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Scopes(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) SetJoinTableHandler(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) SingularTable(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Table(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Take(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Unscoped() *gomock.Call
- func (mr *MockGormableMockRecorder) Update(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) UpdateColumn(arg0 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) UpdateColumns(arg0 interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Updates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockGormableMockRecorder) Where(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnOpener ¶
type MockConnOpener struct {
// contains filtered or unexported fields
}
MockConnOpener is a mock of ConnOpener interface
func NewMockConnOpener ¶
func NewMockConnOpener(ctrl *gomock.Controller) *MockConnOpener
NewMockConnOpener creates a new mock instance
func (*MockConnOpener) EXPECT ¶
func (m *MockConnOpener) EXPECT() *MockConnOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockConnOpenerMockRecorder ¶
type MockConnOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockConnOpenerMockRecorder is the mock recorder for MockConnOpener
func (*MockConnOpenerMockRecorder) Open ¶
func (mr *MockConnOpenerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
Open indicates an expected call of Open
type MockGormable ¶
type MockGormable struct {
// contains filtered or unexported fields
}
MockGormable is a mock of Gormable interface
func NewMockGormable ¶
func NewMockGormable(ctrl *gomock.Controller) *MockGormable
NewMockGormable creates a new mock instance
func (*MockGormable) AddError ¶
func (m *MockGormable) AddError(arg0 error) error
AddError mocks base method
func (*MockGormable) AddForeignKey ¶
func (m *MockGormable) AddForeignKey(arg0, arg1, arg2, arg3 string) *gorm.DB
AddForeignKey mocks base method
func (*MockGormable) AddIndex ¶
func (m *MockGormable) AddIndex(arg0 string, arg1 ...string) *gorm.DB
AddIndex mocks base method
func (*MockGormable) AddUniqueIndex ¶
func (m *MockGormable) AddUniqueIndex(arg0 string, arg1 ...string) *gorm.DB
AddUniqueIndex mocks base method
func (*MockGormable) Assign ¶
func (m *MockGormable) Assign(arg0 ...interface{}) *gorm.DB
Assign mocks base method
func (*MockGormable) Association ¶
func (m *MockGormable) Association(arg0 string) *gorm.Association
Association mocks base method
func (*MockGormable) Attrs ¶
func (m *MockGormable) Attrs(arg0 ...interface{}) *gorm.DB
Attrs mocks base method
func (*MockGormable) AutoMigrate ¶
func (m *MockGormable) AutoMigrate(arg0 ...interface{}) *gorm.DB
AutoMigrate mocks base method
func (*MockGormable) BlockGlobalUpdate ¶
func (m *MockGormable) BlockGlobalUpdate(arg0 bool) *gorm.DB
BlockGlobalUpdate mocks base method
func (*MockGormable) Callback ¶
func (m *MockGormable) Callback() *gorm.Callback
Callback mocks base method
func (*MockGormable) CommonDB ¶
func (m *MockGormable) CommonDB() gorm.SQLCommon
CommonDB mocks base method
func (*MockGormable) Count ¶
func (m *MockGormable) Count(arg0 interface{}) *gorm.DB
Count mocks base method
func (*MockGormable) Create ¶
func (m *MockGormable) Create(arg0 interface{}) *gorm.DB
Create mocks base method
func (*MockGormable) CreateTable ¶
func (m *MockGormable) CreateTable(arg0 ...interface{}) *gorm.DB
CreateTable mocks base method
func (*MockGormable) Delete ¶
func (m *MockGormable) Delete(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Delete mocks base method
func (*MockGormable) Dialect ¶
func (m *MockGormable) Dialect() gorm.Dialect
Dialect mocks base method
func (*MockGormable) DropColumn ¶
func (m *MockGormable) DropColumn(arg0 string) *gorm.DB
DropColumn mocks base method
func (*MockGormable) DropTable ¶
func (m *MockGormable) DropTable(arg0 ...interface{}) *gorm.DB
DropTable mocks base method
func (*MockGormable) DropTableIfExists ¶
func (m *MockGormable) DropTableIfExists(arg0 ...interface{}) *gorm.DB
DropTableIfExists mocks base method
func (*MockGormable) EXPECT ¶
func (m *MockGormable) EXPECT() *MockGormableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGormable) Exec ¶
func (m *MockGormable) Exec(arg0 string, arg1 ...interface{}) *gorm.DB
Exec mocks base method
func (*MockGormable) Find ¶
func (m *MockGormable) Find(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Find mocks base method
func (*MockGormable) First ¶
func (m *MockGormable) First(arg0 interface{}, arg1 ...interface{}) *gorm.DB
First mocks base method
func (*MockGormable) FirstOrCreate ¶
func (m *MockGormable) FirstOrCreate(arg0 interface{}, arg1 ...interface{}) *gorm.DB
FirstOrCreate mocks base method
func (*MockGormable) FirstOrInit ¶
func (m *MockGormable) FirstOrInit(arg0 interface{}, arg1 ...interface{}) *gorm.DB
FirstOrInit mocks base method
func (*MockGormable) Get ¶
func (m *MockGormable) Get(arg0 string) (interface{}, bool)
Get mocks base method
func (*MockGormable) GetErrors ¶
func (m *MockGormable) GetErrors() []error
GetErrors mocks base method
func (*MockGormable) Group ¶
func (m *MockGormable) Group(arg0 string) *gorm.DB
Group mocks base method
func (*MockGormable) HasBlockGlobalUpdate ¶
func (m *MockGormable) HasBlockGlobalUpdate() bool
HasBlockGlobalUpdate mocks base method
func (*MockGormable) HasTable ¶
func (m *MockGormable) HasTable(arg0 interface{}) bool
HasTable mocks base method
func (*MockGormable) Having ¶
func (m *MockGormable) Having(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Having mocks base method
func (*MockGormable) InstantSet ¶
func (m *MockGormable) InstantSet(arg0 string, arg1 interface{}) *gorm.DB
InstantSet mocks base method
func (*MockGormable) Joins ¶
func (m *MockGormable) Joins(arg0 string, arg1 ...interface{}) *gorm.DB
Joins mocks base method
func (*MockGormable) Last ¶
func (m *MockGormable) Last(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Last mocks base method
func (*MockGormable) Limit ¶
func (m *MockGormable) Limit(arg0 interface{}) *gorm.DB
Limit mocks base method
func (*MockGormable) LogMode ¶
func (m *MockGormable) LogMode(arg0 bool) *gorm.DB
LogMode mocks base method
func (*MockGormable) Model ¶
func (m *MockGormable) Model(arg0 interface{}) *gorm.DB
Model mocks base method
func (*MockGormable) ModifyColumn ¶
func (m *MockGormable) ModifyColumn(arg0, arg1 string) *gorm.DB
ModifyColumn mocks base method
func (*MockGormable) NewRecord ¶
func (m *MockGormable) NewRecord(arg0 interface{}) bool
NewRecord mocks base method
func (*MockGormable) NewScope ¶
func (m *MockGormable) NewScope(arg0 interface{}) *gorm.Scope
NewScope mocks base method
func (*MockGormable) Not ¶
func (m *MockGormable) Not(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Not mocks base method
func (*MockGormable) Offset ¶
func (m *MockGormable) Offset(arg0 interface{}) *gorm.DB
Offset mocks base method
func (*MockGormable) Omit ¶
func (m *MockGormable) Omit(arg0 ...string) *gorm.DB
Omit mocks base method
func (*MockGormable) Or ¶
func (m *MockGormable) Or(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Or mocks base method
func (*MockGormable) Order ¶
func (m *MockGormable) Order(arg0 interface{}, arg1 ...bool) *gorm.DB
Order mocks base method
func (*MockGormable) Pluck ¶
func (m *MockGormable) Pluck(arg0 string, arg1 interface{}) *gorm.DB
Pluck mocks base method
func (*MockGormable) Preload ¶
func (m *MockGormable) Preload(arg0 string, arg1 ...interface{}) *gorm.DB
Preload mocks base method
func (*MockGormable) Preloads ¶
func (m *MockGormable) Preloads(arg0 interface{}) *gorm.DB
Preloads mocks base method
func (*MockGormable) Raw ¶
func (m *MockGormable) Raw(arg0 string, arg1 ...interface{}) *gorm.DB
Raw mocks base method
func (*MockGormable) RecordNotFound ¶
func (m *MockGormable) RecordNotFound() bool
RecordNotFound mocks base method
func (*MockGormable) Related ¶
func (m *MockGormable) Related(arg0 interface{}, arg1 ...string) *gorm.DB
Related mocks base method
func (*MockGormable) RemoveForeignKey ¶
func (m *MockGormable) RemoveForeignKey(arg0, arg1 string) *gorm.DB
RemoveForeignKey mocks base method
func (*MockGormable) RemoveIndex ¶
func (m *MockGormable) RemoveIndex(arg0 string) *gorm.DB
RemoveIndex mocks base method
func (*MockGormable) Rollback ¶
func (m *MockGormable) Rollback() *gorm.DB
Rollback mocks base method
func (*MockGormable) Save ¶
func (m *MockGormable) Save(arg0 interface{}) *gorm.DB
Save mocks base method
func (*MockGormable) Scan ¶
func (m *MockGormable) Scan(arg0 interface{}) *gorm.DB
Scan mocks base method
func (*MockGormable) ScanRows ¶
func (m *MockGormable) ScanRows(arg0 *sql.Rows, arg1 interface{}) error
ScanRows mocks base method
func (*MockGormable) Select ¶
func (m *MockGormable) Select(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Select mocks base method
func (*MockGormable) Set ¶
func (m *MockGormable) Set(arg0 string, arg1 interface{}) *gorm.DB
Set mocks base method
func (*MockGormable) SetJoinTableHandler ¶
func (m *MockGormable) SetJoinTableHandler(arg0 interface{}, arg1 string, arg2 gorm.JoinTableHandlerInterface)
SetJoinTableHandler mocks base method
func (*MockGormable) SingularTable ¶
func (m *MockGormable) SingularTable(arg0 bool)
SingularTable mocks base method
func (*MockGormable) Table ¶
func (m *MockGormable) Table(arg0 string) *gorm.DB
Table mocks base method
func (*MockGormable) Take ¶
func (m *MockGormable) Take(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Take mocks base method
func (*MockGormable) Unscoped ¶
func (m *MockGormable) Unscoped() *gorm.DB
Unscoped mocks base method
func (*MockGormable) Update ¶
func (m *MockGormable) Update(arg0 ...interface{}) *gorm.DB
Update mocks base method
func (*MockGormable) UpdateColumn ¶
func (m *MockGormable) UpdateColumn(arg0 ...interface{}) *gorm.DB
UpdateColumn mocks base method
func (*MockGormable) UpdateColumns ¶
func (m *MockGormable) UpdateColumns(arg0 interface{}) *gorm.DB
UpdateColumns mocks base method
func (*MockGormable) Updates ¶
func (m *MockGormable) Updates(arg0 interface{}, arg1 ...bool) *gorm.DB
Updates mocks base method
func (*MockGormable) Where ¶
func (m *MockGormable) Where(arg0 interface{}, arg1 ...interface{}) *gorm.DB
Where mocks base method
type MockGormableMockRecorder ¶
type MockGormableMockRecorder struct {
// contains filtered or unexported fields
}
MockGormableMockRecorder is the mock recorder for MockGormable
func (*MockGormableMockRecorder) AddError ¶
func (mr *MockGormableMockRecorder) AddError(arg0 interface{}) *gomock.Call
AddError indicates an expected call of AddError
func (*MockGormableMockRecorder) AddForeignKey ¶
func (mr *MockGormableMockRecorder) AddForeignKey(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddForeignKey indicates an expected call of AddForeignKey
func (*MockGormableMockRecorder) AddIndex ¶
func (mr *MockGormableMockRecorder) AddIndex(arg0 interface{}, arg1 ...interface{}) *gomock.Call
AddIndex indicates an expected call of AddIndex
func (*MockGormableMockRecorder) AddUniqueIndex ¶
func (mr *MockGormableMockRecorder) AddUniqueIndex(arg0 interface{}, arg1 ...interface{}) *gomock.Call
AddUniqueIndex indicates an expected call of AddUniqueIndex
func (*MockGormableMockRecorder) Assign ¶
func (mr *MockGormableMockRecorder) Assign(arg0 ...interface{}) *gomock.Call
Assign indicates an expected call of Assign
func (*MockGormableMockRecorder) Association ¶
func (mr *MockGormableMockRecorder) Association(arg0 interface{}) *gomock.Call
Association indicates an expected call of Association
func (*MockGormableMockRecorder) Attrs ¶
func (mr *MockGormableMockRecorder) Attrs(arg0 ...interface{}) *gomock.Call
Attrs indicates an expected call of Attrs
func (*MockGormableMockRecorder) AutoMigrate ¶
func (mr *MockGormableMockRecorder) AutoMigrate(arg0 ...interface{}) *gomock.Call
AutoMigrate indicates an expected call of AutoMigrate
func (*MockGormableMockRecorder) Begin ¶
func (mr *MockGormableMockRecorder) Begin() *gomock.Call
Begin indicates an expected call of Begin
func (*MockGormableMockRecorder) BlockGlobalUpdate ¶
func (mr *MockGormableMockRecorder) BlockGlobalUpdate(arg0 interface{}) *gomock.Call
BlockGlobalUpdate indicates an expected call of BlockGlobalUpdate
func (*MockGormableMockRecorder) Callback ¶
func (mr *MockGormableMockRecorder) Callback() *gomock.Call
Callback indicates an expected call of Callback
func (*MockGormableMockRecorder) Close ¶
func (mr *MockGormableMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockGormableMockRecorder) Commit ¶
func (mr *MockGormableMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockGormableMockRecorder) CommonDB ¶
func (mr *MockGormableMockRecorder) CommonDB() *gomock.Call
CommonDB indicates an expected call of CommonDB
func (*MockGormableMockRecorder) Count ¶
func (mr *MockGormableMockRecorder) Count(arg0 interface{}) *gomock.Call
Count indicates an expected call of Count
func (*MockGormableMockRecorder) Create ¶
func (mr *MockGormableMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockGormableMockRecorder) CreateTable ¶
func (mr *MockGormableMockRecorder) CreateTable(arg0 ...interface{}) *gomock.Call
CreateTable indicates an expected call of CreateTable
func (*MockGormableMockRecorder) DB ¶
func (mr *MockGormableMockRecorder) DB() *gomock.Call
DB indicates an expected call of DB
func (*MockGormableMockRecorder) Debug ¶
func (mr *MockGormableMockRecorder) Debug() *gomock.Call
Debug indicates an expected call of Debug
func (*MockGormableMockRecorder) Delete ¶
func (mr *MockGormableMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockGormableMockRecorder) Dialect ¶
func (mr *MockGormableMockRecorder) Dialect() *gomock.Call
Dialect indicates an expected call of Dialect
func (*MockGormableMockRecorder) DropColumn ¶
func (mr *MockGormableMockRecorder) DropColumn(arg0 interface{}) *gomock.Call
DropColumn indicates an expected call of DropColumn
func (*MockGormableMockRecorder) DropTable ¶
func (mr *MockGormableMockRecorder) DropTable(arg0 ...interface{}) *gomock.Call
DropTable indicates an expected call of DropTable
func (*MockGormableMockRecorder) DropTableIfExists ¶
func (mr *MockGormableMockRecorder) DropTableIfExists(arg0 ...interface{}) *gomock.Call
DropTableIfExists indicates an expected call of DropTableIfExists
func (*MockGormableMockRecorder) Exec ¶
func (mr *MockGormableMockRecorder) Exec(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Exec indicates an expected call of Exec
func (*MockGormableMockRecorder) Find ¶
func (mr *MockGormableMockRecorder) Find(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockGormableMockRecorder) First ¶
func (mr *MockGormableMockRecorder) First(arg0 interface{}, arg1 ...interface{}) *gomock.Call
First indicates an expected call of First
func (*MockGormableMockRecorder) FirstOrCreate ¶
func (mr *MockGormableMockRecorder) FirstOrCreate(arg0 interface{}, arg1 ...interface{}) *gomock.Call
FirstOrCreate indicates an expected call of FirstOrCreate
func (*MockGormableMockRecorder) FirstOrInit ¶
func (mr *MockGormableMockRecorder) FirstOrInit(arg0 interface{}, arg1 ...interface{}) *gomock.Call
FirstOrInit indicates an expected call of FirstOrInit
func (*MockGormableMockRecorder) Get ¶
func (mr *MockGormableMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockGormableMockRecorder) GetErrors ¶
func (mr *MockGormableMockRecorder) GetErrors() *gomock.Call
GetErrors indicates an expected call of GetErrors
func (*MockGormableMockRecorder) Group ¶
func (mr *MockGormableMockRecorder) Group(arg0 interface{}) *gomock.Call
Group indicates an expected call of Group
func (*MockGormableMockRecorder) HasBlockGlobalUpdate ¶
func (mr *MockGormableMockRecorder) HasBlockGlobalUpdate() *gomock.Call
HasBlockGlobalUpdate indicates an expected call of HasBlockGlobalUpdate
func (*MockGormableMockRecorder) HasTable ¶
func (mr *MockGormableMockRecorder) HasTable(arg0 interface{}) *gomock.Call
HasTable indicates an expected call of HasTable
func (*MockGormableMockRecorder) Having ¶
func (mr *MockGormableMockRecorder) Having(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Having indicates an expected call of Having
func (*MockGormableMockRecorder) InstantSet ¶
func (mr *MockGormableMockRecorder) InstantSet(arg0, arg1 interface{}) *gomock.Call
InstantSet indicates an expected call of InstantSet
func (*MockGormableMockRecorder) Joins ¶
func (mr *MockGormableMockRecorder) Joins(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Joins indicates an expected call of Joins
func (*MockGormableMockRecorder) Last ¶
func (mr *MockGormableMockRecorder) Last(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Last indicates an expected call of Last
func (*MockGormableMockRecorder) Limit ¶
func (mr *MockGormableMockRecorder) Limit(arg0 interface{}) *gomock.Call
Limit indicates an expected call of Limit
func (*MockGormableMockRecorder) LogMode ¶
func (mr *MockGormableMockRecorder) LogMode(arg0 interface{}) *gomock.Call
LogMode indicates an expected call of LogMode
func (*MockGormableMockRecorder) Model ¶
func (mr *MockGormableMockRecorder) Model(arg0 interface{}) *gomock.Call
Model indicates an expected call of Model
func (*MockGormableMockRecorder) ModifyColumn ¶
func (mr *MockGormableMockRecorder) ModifyColumn(arg0, arg1 interface{}) *gomock.Call
ModifyColumn indicates an expected call of ModifyColumn
func (*MockGormableMockRecorder) New ¶
func (mr *MockGormableMockRecorder) New() *gomock.Call
New indicates an expected call of New
func (*MockGormableMockRecorder) NewRecord ¶
func (mr *MockGormableMockRecorder) NewRecord(arg0 interface{}) *gomock.Call
NewRecord indicates an expected call of NewRecord
func (*MockGormableMockRecorder) NewScope ¶
func (mr *MockGormableMockRecorder) NewScope(arg0 interface{}) *gomock.Call
NewScope indicates an expected call of NewScope
func (*MockGormableMockRecorder) Not ¶
func (mr *MockGormableMockRecorder) Not(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Not indicates an expected call of Not
func (*MockGormableMockRecorder) Offset ¶
func (mr *MockGormableMockRecorder) Offset(arg0 interface{}) *gomock.Call
Offset indicates an expected call of Offset
func (*MockGormableMockRecorder) Omit ¶
func (mr *MockGormableMockRecorder) Omit(arg0 ...interface{}) *gomock.Call
Omit indicates an expected call of Omit
func (*MockGormableMockRecorder) Or ¶
func (mr *MockGormableMockRecorder) Or(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Or indicates an expected call of Or
func (*MockGormableMockRecorder) Order ¶
func (mr *MockGormableMockRecorder) Order(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Order indicates an expected call of Order
func (*MockGormableMockRecorder) Pluck ¶
func (mr *MockGormableMockRecorder) Pluck(arg0, arg1 interface{}) *gomock.Call
Pluck indicates an expected call of Pluck
func (*MockGormableMockRecorder) Preload ¶
func (mr *MockGormableMockRecorder) Preload(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Preload indicates an expected call of Preload
func (*MockGormableMockRecorder) Preloads ¶
func (mr *MockGormableMockRecorder) Preloads(arg0 interface{}) *gomock.Call
Preloads indicates an expected call of Preloads
func (*MockGormableMockRecorder) Raw ¶
func (mr *MockGormableMockRecorder) Raw(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Raw indicates an expected call of Raw
func (*MockGormableMockRecorder) RecordNotFound ¶
func (mr *MockGormableMockRecorder) RecordNotFound() *gomock.Call
RecordNotFound indicates an expected call of RecordNotFound
func (*MockGormableMockRecorder) Related ¶
func (mr *MockGormableMockRecorder) Related(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Related indicates an expected call of Related
func (*MockGormableMockRecorder) RemoveForeignKey ¶
func (mr *MockGormableMockRecorder) RemoveForeignKey(arg0, arg1 interface{}) *gomock.Call
RemoveForeignKey indicates an expected call of RemoveForeignKey
func (*MockGormableMockRecorder) RemoveIndex ¶
func (mr *MockGormableMockRecorder) RemoveIndex(arg0 interface{}) *gomock.Call
RemoveIndex indicates an expected call of RemoveIndex
func (*MockGormableMockRecorder) Rollback ¶
func (mr *MockGormableMockRecorder) Rollback() *gomock.Call
Rollback indicates an expected call of Rollback
func (*MockGormableMockRecorder) Row ¶
func (mr *MockGormableMockRecorder) Row() *gomock.Call
Row indicates an expected call of Row
func (*MockGormableMockRecorder) Rows ¶
func (mr *MockGormableMockRecorder) Rows() *gomock.Call
Rows indicates an expected call of Rows
func (*MockGormableMockRecorder) Save ¶
func (mr *MockGormableMockRecorder) Save(arg0 interface{}) *gomock.Call
Save indicates an expected call of Save
func (*MockGormableMockRecorder) Scan ¶
func (mr *MockGormableMockRecorder) Scan(arg0 interface{}) *gomock.Call
Scan indicates an expected call of Scan
func (*MockGormableMockRecorder) ScanRows ¶
func (mr *MockGormableMockRecorder) ScanRows(arg0, arg1 interface{}) *gomock.Call
ScanRows indicates an expected call of ScanRows
func (*MockGormableMockRecorder) Scopes ¶
func (mr *MockGormableMockRecorder) Scopes(arg0 ...interface{}) *gomock.Call
Scopes indicates an expected call of Scopes
func (*MockGormableMockRecorder) Select ¶
func (mr *MockGormableMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Select indicates an expected call of Select
func (*MockGormableMockRecorder) Set ¶
func (mr *MockGormableMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockGormableMockRecorder) SetJoinTableHandler ¶
func (mr *MockGormableMockRecorder) SetJoinTableHandler(arg0, arg1, arg2 interface{}) *gomock.Call
SetJoinTableHandler indicates an expected call of SetJoinTableHandler
func (*MockGormableMockRecorder) SingularTable ¶
func (mr *MockGormableMockRecorder) SingularTable(arg0 interface{}) *gomock.Call
SingularTable indicates an expected call of SingularTable
func (*MockGormableMockRecorder) Table ¶
func (mr *MockGormableMockRecorder) Table(arg0 interface{}) *gomock.Call
Table indicates an expected call of Table
func (*MockGormableMockRecorder) Take ¶
func (mr *MockGormableMockRecorder) Take(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Take indicates an expected call of Take
func (*MockGormableMockRecorder) Unscoped ¶
func (mr *MockGormableMockRecorder) Unscoped() *gomock.Call
Unscoped indicates an expected call of Unscoped
func (*MockGormableMockRecorder) Update ¶
func (mr *MockGormableMockRecorder) Update(arg0 ...interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockGormableMockRecorder) UpdateColumn ¶
func (mr *MockGormableMockRecorder) UpdateColumn(arg0 ...interface{}) *gomock.Call
UpdateColumn indicates an expected call of UpdateColumn
func (*MockGormableMockRecorder) UpdateColumns ¶
func (mr *MockGormableMockRecorder) UpdateColumns(arg0 interface{}) *gomock.Call
UpdateColumns indicates an expected call of UpdateColumns
func (*MockGormableMockRecorder) Updates ¶
func (mr *MockGormableMockRecorder) Updates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Updates indicates an expected call of Updates
func (*MockGormableMockRecorder) Where ¶
func (mr *MockGormableMockRecorder) Where(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Where indicates an expected call of Where