Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: internal/user/delivery/profile_handler.go
Generated by this command:
mockgen -source=internal/user/delivery/profile_handler.go -destination=internal/user/mocks/profile_handler.go --package=mocks
Package mocks is a generated GoMock package.
Index ¶
- type MockIUserService
- func (m *MockIUserService) AddUser(ctx context.Context, r io.Reader) (*models.User, error)
- func (m *MockIUserService) EXPECT() *MockIUserServiceMockRecorder
- func (m *MockIUserService) GetUser(ctx context.Context, email, password string) (*models.UserWithoutPassword, error)
- func (m *MockIUserService) GetUserWithoutPasswordByID(ctx context.Context, userID uint64) (*models.UserWithoutPassword, error)
- func (m *MockIUserService) UpdateUser(ctx context.Context, r io.Reader, isPartialUpdate bool, userID uint64) (*models.UserWithoutPassword, error)
- type MockIUserServiceMockRecorder
- func (mr *MockIUserServiceMockRecorder) AddUser(ctx, r any) *gomock.Call
- func (mr *MockIUserServiceMockRecorder) GetUser(ctx, email, password any) *gomock.Call
- func (mr *MockIUserServiceMockRecorder) GetUserWithoutPasswordByID(ctx, userID any) *gomock.Call
- func (mr *MockIUserServiceMockRecorder) UpdateUser(ctx, r, isPartialUpdate, userID any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) GetUser ¶
func (m *MockIUserService) GetUser(ctx context.Context, email, password string) (*models.UserWithoutPassword, error)
GetUser mocks base method.
func (*MockIUserService) GetUserWithoutPasswordByID ¶
func (m *MockIUserService) GetUserWithoutPasswordByID(ctx context.Context, userID uint64) (*models.UserWithoutPassword, error)
GetUserWithoutPasswordByID mocks base method.
func (*MockIUserService) UpdateUser ¶
func (m *MockIUserService) UpdateUser(ctx context.Context, r io.Reader, isPartialUpdate bool, userID uint64) (*models.UserWithoutPassword, error)
UpdateUser mocks base method.
type MockIUserServiceMockRecorder ¶
type MockIUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIUserServiceMockRecorder is the mock recorder for MockIUserService.
func (*MockIUserServiceMockRecorder) AddUser ¶
func (mr *MockIUserServiceMockRecorder) AddUser(ctx, r any) *gomock.Call
AddUser indicates an expected call of AddUser.
func (*MockIUserServiceMockRecorder) GetUser ¶
func (mr *MockIUserServiceMockRecorder) GetUser(ctx, email, password any) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockIUserServiceMockRecorder) GetUserWithoutPasswordByID ¶
func (mr *MockIUserServiceMockRecorder) GetUserWithoutPasswordByID(ctx, userID any) *gomock.Call
GetUserWithoutPasswordByID indicates an expected call of GetUserWithoutPasswordByID.
func (*MockIUserServiceMockRecorder) UpdateUser ¶
func (mr *MockIUserServiceMockRecorder) UpdateUser(ctx, r, isPartialUpdate, userID any) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.