Documentation ¶
Index ¶
- type GormModel
- func (_m *GormModel) IsSoftDelete() bool
- func (_m *GormModel) SetCreatedAt(_a0 time.Time)
- func (_m *GormModel) SetCreatedBy(user string)
- func (_m *GormModel) SetDeletedAt(_a0 time.Time)
- func (_m *GormModel) SetDeletedBy(user string)
- func (_m *GormModel) SetSyncedAt(_a0 time.Time)
- func (_m *GormModel) SetUpdatedAt(_a0 time.Time)
- func (_m *GormModel) SetUpdatedBy(user string)
- func (_m *GormModel) TableName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormModel ¶
GormModel is an autogenerated mock type for the GormModel type
func NewGormModel ¶
func NewGormModel(t mockConstructorTestingTNewGormModel) *GormModel
NewGormModel creates a new instance of GormModel. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*GormModel) IsSoftDelete ¶
IsSoftDelete provides a mock function with given fields:
func (*GormModel) SetCreatedAt ¶
SetCreatedAt provides a mock function with given fields: _a0
func (*GormModel) SetCreatedBy ¶
SetCreatedBy provides a mock function with given fields: user
func (*GormModel) SetDeletedAt ¶
SetDeletedAt provides a mock function with given fields: _a0
func (*GormModel) SetDeletedBy ¶
SetDeletedBy provides a mock function with given fields: user
func (*GormModel) SetSyncedAt ¶
SetSyncedAt provides a mock function with given fields: _a0
func (*GormModel) SetUpdatedAt ¶
SetUpdatedAt provides a mock function with given fields: _a0
func (*GormModel) SetUpdatedBy ¶
SetUpdatedBy provides a mock function with given fields: user