Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Index ¶
- type MockRepositoryContract
- func (m *MockRepositoryContract) CreateUser(ctx context.Context, request *repository.CreateUserRequest) (*repository.CreateUserResponse, error)
- func (m *MockRepositoryContract) DeleteUser(ctx context.Context, request *repository.DeleteUserRequest) (*repository.DeleteUserResponse, error)
- func (m *MockRepositoryContract) EXPECT() *MockRepositoryContractMockRecorder
- func (m *MockRepositoryContract) ReadUser(ctx context.Context, request *repository.ReadUserRequest) (*repository.ReadUserResponse, error)
- func (m *MockRepositoryContract) UpdateUser(ctx context.Context, request *repository.UpdateUserRequest) (*repository.UpdateUserResponse, error)
- type MockRepositoryContractMockRecorder
- func (mr *MockRepositoryContractMockRecorder) CreateUser(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) DeleteUser(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) ReadUser(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) UpdateUser(ctx, request interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepositoryContract ¶
type MockRepositoryContract struct {
// contains filtered or unexported fields
}
MockRepositoryContract is a mock of RepositoryContract interface.
func NewMockRepositoryContract ¶
func NewMockRepositoryContract(ctrl *gomock.Controller) *MockRepositoryContract
NewMockRepositoryContract creates a new mock instance.
func (*MockRepositoryContract) CreateUser ¶
func (m *MockRepositoryContract) CreateUser(ctx context.Context, request *repository.CreateUserRequest) (*repository.CreateUserResponse, error)
CreateUser mocks base method.
func (*MockRepositoryContract) DeleteUser ¶
func (m *MockRepositoryContract) DeleteUser(ctx context.Context, request *repository.DeleteUserRequest) (*repository.DeleteUserResponse, error)
DeleteUser mocks base method.
func (*MockRepositoryContract) EXPECT ¶
func (m *MockRepositoryContract) EXPECT() *MockRepositoryContractMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryContract) ReadUser ¶
func (m *MockRepositoryContract) ReadUser(ctx context.Context, request *repository.ReadUserRequest) (*repository.ReadUserResponse, error)
ReadUser mocks base method.
func (*MockRepositoryContract) UpdateUser ¶
func (m *MockRepositoryContract) UpdateUser(ctx context.Context, request *repository.UpdateUserRequest) (*repository.UpdateUserResponse, error)
UpdateUser mocks base method.
type MockRepositoryContractMockRecorder ¶
type MockRepositoryContractMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryContractMockRecorder is the mock recorder for MockRepositoryContract.
func (*MockRepositoryContractMockRecorder) CreateUser ¶
func (mr *MockRepositoryContractMockRecorder) CreateUser(ctx, request interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockRepositoryContractMockRecorder) DeleteUser ¶
func (mr *MockRepositoryContractMockRecorder) DeleteUser(ctx, request interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockRepositoryContractMockRecorder) ReadUser ¶
func (mr *MockRepositoryContractMockRecorder) ReadUser(ctx, request interface{}) *gomock.Call
ReadUser indicates an expected call of ReadUser.
func (*MockRepositoryContractMockRecorder) UpdateUser ¶
func (mr *MockRepositoryContractMockRecorder) UpdateUser(ctx, request interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.