Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIUserRepo ¶
type MockIUserRepo struct {
// contains filtered or unexported fields
}
MockIUserRepo is a mock of IUserRepo interface.
func NewMockIUserRepo ¶
func NewMockIUserRepo(ctrl *gomock.Controller) *MockIUserRepo
NewMockIUserRepo creates a new mock instance.
func (*MockIUserRepo) EXPECT ¶
func (m *MockIUserRepo) EXPECT() *MockIUserRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIUserRepo) GetUserByName ¶
GetUserByName mocks base method.
type MockIUserRepoMockRecorder ¶
type MockIUserRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockIUserRepoMockRecorder is the mock recorder for MockIUserRepo.
func (*MockIUserRepoMockRecorder) GetUserByName ¶
func (mr *MockIUserRepoMockRecorder) GetUserByName(ctx, name interface{}) *gomock.Call
GetUserByName indicates an expected call of GetUserByName.
type MockIUserService ¶
type MockIUserService struct {
// contains filtered or unexported fields
}
MockIUserService is a mock of IUserService interface.
func NewMockIUserService ¶
func NewMockIUserService(ctrl *gomock.Controller) *MockIUserService
NewMockIUserService creates a new mock instance.
func (*MockIUserService) EXPECT ¶
func (m *MockIUserService) EXPECT() *MockIUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIUserService) GetUserByName ¶
GetUserByName mocks base method.
type MockIUserServiceMockRecorder ¶
type MockIUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIUserServiceMockRecorder is the mock recorder for MockIUserService.
func (*MockIUserServiceMockRecorder) GetUserByName ¶
func (mr *MockIUserServiceMockRecorder) GetUserByName(ctx, name interface{}) *gomock.Call
GetUserByName indicates an expected call of GetUserByName.