Documentation ¶
Overview ¶
Package mock_repo is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthRepository ¶
type MockAuthRepository struct {
// contains filtered or unexported fields
}
MockAuthRepository is a mock of AuthRepository interface.
func NewMockAuthRepository ¶
func NewMockAuthRepository(ctrl *gomock.Controller) *MockAuthRepository
NewMockAuthRepository creates a new mock instance.
func (*MockAuthRepository) Create ¶
func (m *MockAuthRepository) Create(ctx context.Context, req *repo.UserRequest) error
Create mocks base method.
func (*MockAuthRepository) EXPECT ¶
func (m *MockAuthRepository) EXPECT() *MockAuthRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthRepository) Get ¶
func (m *MockAuthRepository) Get(ctx context.Context, req *repo.UserRequest) (*models.User, error)
Get mocks base method.
type MockAuthRepositoryMockRecorder ¶
type MockAuthRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthRepositoryMockRecorder is the mock recorder for MockAuthRepository.
func (*MockAuthRepositoryMockRecorder) Create ¶
func (mr *MockAuthRepositoryMockRecorder) Create(ctx, req interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockAuthRepositoryMockRecorder) Get ¶
func (mr *MockAuthRepositoryMockRecorder) Get(ctx, req interface{}) *gomock.Call
Get indicates an expected call of Get.
Click to show internal directories.
Click to hide internal directories.