user

package
v0.0.0-...-eecab09 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package user is a generated GoMock package.

Package user is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIService

type MockIService struct {
	// contains filtered or unexported fields
}

MockIService is a mock of IService interface.

func NewMockIService

func NewMockIService(ctrl *gomock.Controller) *MockIService

NewMockIService creates a new mock instance.

func (*MockIService) CreateUser

func (m *MockIService) CreateUser(ctx context.Context, UserInfo *user.CreatedInput) (*user.Output, error)

CreateUser mocks base method.

func (*MockIService) DeleteUser

func (m *MockIService) DeleteUser(ctx context.Context, UserInfo *user.DeletedInput) (*user.Output, error)

DeleteUser mocks base method.

func (*MockIService) EXPECT

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

func (*MockIService) GetUserDetail

func (m *MockIService) GetUserDetail(ctx context.Context, UserInfo *user.DetailGotInput) (*user.Output, error)

GetUserDetail mocks base method.

func (*MockIService) GetUserList

func (m *MockIService) GetUserList(ctx context.Context, UserInfo *user.ListGotInput) (*user.OutputList, error)

GetUserList mocks base method.

func (*MockIService) UpdateUser

func (m *MockIService) UpdateUser(ctx context.Context, UserInfo *user.UpdatedInput) (*user.Output, error)

UpdateUser mocks base method.

type MockIServiceMockRecorder

type MockIServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockIServiceMockRecorder is the mock recorder for MockIService.

func (*MockIServiceMockRecorder) CreateUser

func (mr *MockIServiceMockRecorder) CreateUser(ctx, UserInfo interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockIServiceMockRecorder) DeleteUser

func (mr *MockIServiceMockRecorder) DeleteUser(ctx, UserInfo interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockIServiceMockRecorder) GetUserDetail

func (mr *MockIServiceMockRecorder) GetUserDetail(ctx, UserInfo interface{}) *gomock.Call

GetUserDetail indicates an expected call of GetUserDetail.

func (*MockIServiceMockRecorder) GetUserList

func (mr *MockIServiceMockRecorder) GetUserList(ctx, UserInfo interface{}) *gomock.Call

GetUserList indicates an expected call of GetUserList.

func (*MockIServiceMockRecorder) UpdateUser

func (mr *MockIServiceMockRecorder) UpdateUser(ctx, UserInfo interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

type MockUserRepository

type MockUserRepository struct {
	// contains filtered or unexported fields
}

MockUserRepository is a mock of UserRepository interface.

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance.

func (*MockUserRepository) Create

Create mocks base method.

func (*MockUserRepository) CreateTx

CreateTx mocks base method.

func (*MockUserRepository) Delete

Delete mocks base method.

func (*MockUserRepository) DeleteTx

DeleteTx mocks base method.

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) GetAll

GetAll mocks base method.

func (*MockUserRepository) GetByID

GetByID mocks base method.

func (*MockUserRepository) Update

Update mocks base method.

func (*MockUserRepository) UpdateTx

UpdateTx mocks base method.

func (*MockUserRepository) UpdateWithFields

func (m *MockUserRepository) UpdateWithFields(ctx context.Context, e domain.IEntity, keys []string) (domain.IEntity, error)

UpdateWithFields mocks base method.

func (*MockUserRepository) UpdateWithFieldsTx

func (m *MockUserRepository) UpdateWithFieldsTx(arg0 context.Context, arg1 domain.IEntity, arg2 []string, arg3 domain.ITransactionEvent) (domain.IEntity, error)

UpdateWithFieldsTx mocks base method.

type MockUserRepositoryMockRecorder

type MockUserRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.

func (*MockUserRepositoryMockRecorder) Create

func (mr *MockUserRepositoryMockRecorder) Create(ctx, e interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockUserRepositoryMockRecorder) CreateTx

func (mr *MockUserRepositoryMockRecorder) CreateTx(arg0, arg1, arg2 interface{}) *gomock.Call

CreateTx indicates an expected call of CreateTx.

func (*MockUserRepositoryMockRecorder) Delete

func (mr *MockUserRepositoryMockRecorder) Delete(ctx, e interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockUserRepositoryMockRecorder) DeleteTx

func (mr *MockUserRepositoryMockRecorder) DeleteTx(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteTx indicates an expected call of DeleteTx.

func (*MockUserRepositoryMockRecorder) GetAll

func (mr *MockUserRepositoryMockRecorder) GetAll(ctx, sq, e interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockUserRepositoryMockRecorder) GetByID

func (mr *MockUserRepositoryMockRecorder) GetByID(ctx, e interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockUserRepositoryMockRecorder) Update

func (mr *MockUserRepositoryMockRecorder) Update(ctx, e interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockUserRepositoryMockRecorder) UpdateTx

func (mr *MockUserRepositoryMockRecorder) UpdateTx(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateTx indicates an expected call of UpdateTx.

func (*MockUserRepositoryMockRecorder) UpdateWithFields

func (mr *MockUserRepositoryMockRecorder) UpdateWithFields(ctx, e, keys interface{}) *gomock.Call

UpdateWithFields indicates an expected call of UpdateWithFields.

func (*MockUserRepositoryMockRecorder) UpdateWithFieldsTx

func (mr *MockUserRepositoryMockRecorder) UpdateWithFieldsTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateWithFieldsTx indicates an expected call of UpdateWithFieldsTx.

Jump to

Keyboard shortcuts

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