mock_entity

package
v0.0.0-...-1f910d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2024 License: MIT Imports: 5 Imported by: 0

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

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

Count mocks base method.

func (*MockEmployeeClockHistoryRepo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEmployeeClockHistoryRepo) Insert

Insert mocks base method.

func (*MockEmployeeClockHistoryRepo) Patch

Patch mocks base method.

func (*MockEmployeeClockHistoryRepo) Select

Select mocks base method.

func (*MockEmployeeClockHistoryRepo) SoftDelete

func (m *MockEmployeeClockHistoryRepo) SoftDelete(arg0 context.Context, arg1 int) (int64, error)

SoftDelete mocks base method.

func (*MockEmployeeClockHistoryRepo) Update

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEmployeeRepo) Insert

func (m *MockEmployeeRepo) Insert(arg0 context.Context, arg1 *entity.Employee) (int, error)

Insert mocks base method.

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

func (m *MockEmployeeRepo) SoftDelete(arg0 context.Context, arg1 int) (int64, error)

SoftDelete mocks base method.

func (*MockEmployeeRepo) Update

func (m *MockEmployeeRepo) Update(arg0 context.Context, arg1 *entity.Employee, arg2 ...repokit.UpdateOption) (int64, error)

Update 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

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

Patch mocks base method.

func (*MockOauth2ClientRepo) Select

Select mocks base method.

func (*MockOauth2ClientRepo) SoftDelete

func (m *MockOauth2ClientRepo) SoftDelete(arg0 context.Context, arg1 int) (int64, error)

SoftDelete mocks base method.

func (*MockOauth2ClientRepo) Update

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL