Documentation ¶
Overview ¶
Package mock_entity is a generated GoMock package.
Package mock_entity is a generated GoMock package.
Package mock_entity is a generated GoMock package.
Index ¶
- type MockEmployeeClockHistoryRepo
- func (m *MockEmployeeClockHistoryRepo) Count(arg0 context.Context, arg1 ...repokit.SelectOption) (int64, error)
- func (m *MockEmployeeClockHistoryRepo) EXPECT() *MockEmployeeClockHistoryRepoMockRecorder
- func (m *MockEmployeeClockHistoryRepo) Insert(arg0 context.Context, arg1 *entity.EmployeeClockHistory) (int, error)
- func (m *MockEmployeeClockHistoryRepo) Patch(arg0 context.Context, arg1 *entity.EmployeeClockHistory, ...) (int64, error)
- func (m *MockEmployeeClockHistoryRepo) Select(arg0 context.Context, arg1 ...repokit.SelectOption) ([]*entity.EmployeeClockHistory, error)
- func (m *MockEmployeeClockHistoryRepo) SoftDelete(arg0 context.Context, arg1 int) (int64, error)
- func (m *MockEmployeeClockHistoryRepo) Update(arg0 context.Context, arg1 *entity.EmployeeClockHistory, ...) (int64, error)
- type MockEmployeeClockHistoryRepoMockRecorder
- func (mr *MockEmployeeClockHistoryRepoMockRecorder) Count(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockEmployeeClockHistoryRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmployeeClockHistoryRepoMockRecorder) Patch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEmployeeClockHistoryRepoMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockEmployeeClockHistoryRepoMockRecorder) SoftDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmployeeClockHistoryRepoMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockEmployeeRepo
- func (m *MockEmployeeRepo) Count(arg0 context.Context, arg1 ...repokit.SelectOption) (int64, error)
- func (m *MockEmployeeRepo) EXPECT() *MockEmployeeRepoMockRecorder
- func (m *MockEmployeeRepo) Insert(arg0 context.Context, arg1 *entity.Employee) (int, error)
- func (m *MockEmployeeRepo) Patch(arg0 context.Context, arg1 *entity.Employee, arg2 ...repokit.UpdateOption) (int64, error)
- func (m *MockEmployeeRepo) Select(arg0 context.Context, arg1 ...repokit.SelectOption) ([]*entity.Employee, error)
- func (m *MockEmployeeRepo) SoftDelete(arg0 context.Context, arg1 int) (int64, error)
- func (m *MockEmployeeRepo) Update(arg0 context.Context, arg1 *entity.Employee, arg2 ...repokit.UpdateOption) (int64, error)
- type MockEmployeeRepoMockRecorder
- func (mr *MockEmployeeRepoMockRecorder) Count(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockEmployeeRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmployeeRepoMockRecorder) Patch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEmployeeRepoMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockEmployeeRepoMockRecorder) SoftDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmployeeRepoMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockOauth2ClientRepo
- func (m *MockOauth2ClientRepo) Count(arg0 context.Context, arg1 ...repokit.SelectOption) (int64, error)
- func (m *MockOauth2ClientRepo) EXPECT() *MockOauth2ClientRepoMockRecorder
- func (m *MockOauth2ClientRepo) Insert(arg0 context.Context, arg1 *entity.Oauth2Client) (int, error)
- func (m *MockOauth2ClientRepo) Patch(arg0 context.Context, arg1 *entity.Oauth2Client, arg2 ...repokit.UpdateOption) (int64, error)
- func (m *MockOauth2ClientRepo) Select(arg0 context.Context, arg1 ...repokit.SelectOption) ([]*entity.Oauth2Client, error)
- func (m *MockOauth2ClientRepo) SoftDelete(arg0 context.Context, arg1 int) (int64, error)
- func (m *MockOauth2ClientRepo) Update(arg0 context.Context, arg1 *entity.Oauth2Client, arg2 ...repokit.UpdateOption) (int64, error)
- type MockOauth2ClientRepoMockRecorder
- func (mr *MockOauth2ClientRepoMockRecorder) Count(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockOauth2ClientRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOauth2ClientRepoMockRecorder) Patch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOauth2ClientRepoMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockOauth2ClientRepoMockRecorder) SoftDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOauth2ClientRepoMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEmployeeClockHistoryRepo ¶
type MockEmployeeClockHistoryRepo struct {
// contains filtered or unexported fields
}
MockEmployeeClockHistoryRepo is a mock of EmployeeClockHistoryRepo interface.
func NewMockEmployeeClockHistoryRepo ¶
func NewMockEmployeeClockHistoryRepo(ctrl *gomock.Controller) *MockEmployeeClockHistoryRepo
NewMockEmployeeClockHistoryRepo creates a new mock instance.
func (*MockEmployeeClockHistoryRepo) Count ¶
func (m *MockEmployeeClockHistoryRepo) Count(arg0 context.Context, arg1 ...repokit.SelectOption) (int64, error)
Count mocks base method.
func (*MockEmployeeClockHistoryRepo) EXPECT ¶
func (m *MockEmployeeClockHistoryRepo) EXPECT() *MockEmployeeClockHistoryRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEmployeeClockHistoryRepo) Insert ¶
func (m *MockEmployeeClockHistoryRepo) Insert(arg0 context.Context, arg1 *entity.EmployeeClockHistory) (int, error)
Insert mocks base method.
func (*MockEmployeeClockHistoryRepo) Patch ¶
func (m *MockEmployeeClockHistoryRepo) Patch(arg0 context.Context, arg1 *entity.EmployeeClockHistory, arg2 ...repokit.UpdateOption) (int64, error)
Patch mocks base method.
func (*MockEmployeeClockHistoryRepo) Select ¶
func (m *MockEmployeeClockHistoryRepo) Select(arg0 context.Context, arg1 ...repokit.SelectOption) ([]*entity.EmployeeClockHistory, error)
Select mocks base method.
func (*MockEmployeeClockHistoryRepo) SoftDelete ¶
SoftDelete mocks base method.
func (*MockEmployeeClockHistoryRepo) Update ¶
func (m *MockEmployeeClockHistoryRepo) Update(arg0 context.Context, arg1 *entity.EmployeeClockHistory, arg2 ...repokit.UpdateOption) (int64, error)
Update mocks base method.
type MockEmployeeClockHistoryRepoMockRecorder ¶
type MockEmployeeClockHistoryRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockEmployeeClockHistoryRepoMockRecorder is the mock recorder for MockEmployeeClockHistoryRepo.
func (*MockEmployeeClockHistoryRepoMockRecorder) Count ¶
func (mr *MockEmployeeClockHistoryRepoMockRecorder) Count(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*MockEmployeeClockHistoryRepoMockRecorder) Insert ¶
func (mr *MockEmployeeClockHistoryRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockEmployeeClockHistoryRepoMockRecorder) Patch ¶
func (mr *MockEmployeeClockHistoryRepoMockRecorder) Patch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockEmployeeClockHistoryRepoMockRecorder) Select ¶
func (mr *MockEmployeeClockHistoryRepoMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Select indicates an expected call of Select.
func (*MockEmployeeClockHistoryRepoMockRecorder) SoftDelete ¶
func (mr *MockEmployeeClockHistoryRepoMockRecorder) SoftDelete(arg0, arg1 interface{}) *gomock.Call
SoftDelete indicates an expected call of SoftDelete.
func (*MockEmployeeClockHistoryRepoMockRecorder) Update ¶
func (mr *MockEmployeeClockHistoryRepoMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockEmployeeRepo ¶
type MockEmployeeRepo struct {
// contains filtered or unexported fields
}
MockEmployeeRepo is a mock of EmployeeRepo interface.
func NewMockEmployeeRepo ¶
func NewMockEmployeeRepo(ctrl *gomock.Controller) *MockEmployeeRepo
NewMockEmployeeRepo creates a new mock instance.
func (*MockEmployeeRepo) Count ¶
func (m *MockEmployeeRepo) Count(arg0 context.Context, arg1 ...repokit.SelectOption) (int64, error)
Count mocks base method.
func (*MockEmployeeRepo) EXPECT ¶
func (m *MockEmployeeRepo) EXPECT() *MockEmployeeRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEmployeeRepo) Patch ¶
func (m *MockEmployeeRepo) Patch(arg0 context.Context, arg1 *entity.Employee, arg2 ...repokit.UpdateOption) (int64, error)
Patch mocks base method.
func (*MockEmployeeRepo) Select ¶
func (m *MockEmployeeRepo) Select(arg0 context.Context, arg1 ...repokit.SelectOption) ([]*entity.Employee, error)
Select mocks base method.
func (*MockEmployeeRepo) SoftDelete ¶
SoftDelete mocks base method.
type MockEmployeeRepoMockRecorder ¶
type MockEmployeeRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockEmployeeRepoMockRecorder is the mock recorder for MockEmployeeRepo.
func (*MockEmployeeRepoMockRecorder) Count ¶
func (mr *MockEmployeeRepoMockRecorder) Count(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*MockEmployeeRepoMockRecorder) Insert ¶
func (mr *MockEmployeeRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockEmployeeRepoMockRecorder) Patch ¶
func (mr *MockEmployeeRepoMockRecorder) Patch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockEmployeeRepoMockRecorder) Select ¶
func (mr *MockEmployeeRepoMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Select indicates an expected call of Select.
func (*MockEmployeeRepoMockRecorder) SoftDelete ¶
func (mr *MockEmployeeRepoMockRecorder) SoftDelete(arg0, arg1 interface{}) *gomock.Call
SoftDelete indicates an expected call of SoftDelete.
func (*MockEmployeeRepoMockRecorder) Update ¶
func (mr *MockEmployeeRepoMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockOauth2ClientRepo ¶
type MockOauth2ClientRepo struct {
// contains filtered or unexported fields
}
MockOauth2ClientRepo is a mock of Oauth2ClientRepo interface.
func NewMockOauth2ClientRepo ¶
func NewMockOauth2ClientRepo(ctrl *gomock.Controller) *MockOauth2ClientRepo
NewMockOauth2ClientRepo creates a new mock instance.
func (*MockOauth2ClientRepo) Count ¶
func (m *MockOauth2ClientRepo) Count(arg0 context.Context, arg1 ...repokit.SelectOption) (int64, error)
Count mocks base method.
func (*MockOauth2ClientRepo) EXPECT ¶
func (m *MockOauth2ClientRepo) EXPECT() *MockOauth2ClientRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOauth2ClientRepo) Insert ¶
func (m *MockOauth2ClientRepo) Insert(arg0 context.Context, arg1 *entity.Oauth2Client) (int, error)
Insert mocks base method.
func (*MockOauth2ClientRepo) Patch ¶
func (m *MockOauth2ClientRepo) Patch(arg0 context.Context, arg1 *entity.Oauth2Client, arg2 ...repokit.UpdateOption) (int64, error)
Patch mocks base method.
func (*MockOauth2ClientRepo) Select ¶
func (m *MockOauth2ClientRepo) Select(arg0 context.Context, arg1 ...repokit.SelectOption) ([]*entity.Oauth2Client, error)
Select mocks base method.
func (*MockOauth2ClientRepo) SoftDelete ¶
SoftDelete mocks base method.
func (*MockOauth2ClientRepo) Update ¶
func (m *MockOauth2ClientRepo) Update(arg0 context.Context, arg1 *entity.Oauth2Client, arg2 ...repokit.UpdateOption) (int64, error)
Update mocks base method.
type MockOauth2ClientRepoMockRecorder ¶
type MockOauth2ClientRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockOauth2ClientRepoMockRecorder is the mock recorder for MockOauth2ClientRepo.
func (*MockOauth2ClientRepoMockRecorder) Count ¶
func (mr *MockOauth2ClientRepoMockRecorder) Count(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*MockOauth2ClientRepoMockRecorder) Insert ¶
func (mr *MockOauth2ClientRepoMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockOauth2ClientRepoMockRecorder) Patch ¶
func (mr *MockOauth2ClientRepoMockRecorder) Patch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockOauth2ClientRepoMockRecorder) Select ¶
func (mr *MockOauth2ClientRepoMockRecorder) Select(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Select indicates an expected call of Select.
func (*MockOauth2ClientRepoMockRecorder) SoftDelete ¶
func (mr *MockOauth2ClientRepoMockRecorder) SoftDelete(arg0, arg1 interface{}) *gomock.Call
SoftDelete indicates an expected call of SoftDelete.
func (*MockOauth2ClientRepoMockRecorder) Update ¶
func (mr *MockOauth2ClientRepoMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.