Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ./internal/service/code.go
Generated by this command:
mockgen -source=./internal/service/code.go -package=svcmocks -destination=./internal/service/mocks/code.mock.go
Package svcmocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./internal/service/user.go
Generated by this command:
mockgen -source=./internal/service/user.go -package=svcmocks -destination=./internal/service/mocks/user.mock.go
Package svcmocks is a generated GoMock package.
Index ¶
- type MockCodeService
- type MockCodeServiceMockRecorder
- type MockUserService
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) FindById(ctx context.Context, uid int64) (domain.User, error)
- func (m *MockUserService) FindOrCreate(ctx context.Context, phone string) (domain.User, error)
- func (m *MockUserService) Login(ctx context.Context, email, password string) (domain.User, error)
- func (m *MockUserService) Signup(ctx context.Context, u domain.User) error
- func (m *MockUserService) UpdateNonSensitiveInfo(ctx context.Context, user domain.User) error
- type MockUserServiceMockRecorder
- func (mr *MockUserServiceMockRecorder) FindById(ctx, uid any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) FindOrCreate(ctx, phone any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Login(ctx, email, password any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Signup(ctx, u any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) UpdateNonSensitiveInfo(ctx, user any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCodeService ¶
type MockCodeService struct {
// contains filtered or unexported fields
}
MockCodeService is a mock of CodeService interface.
func NewMockCodeService ¶
func NewMockCodeService(ctrl *gomock.Controller) *MockCodeService
NewMockCodeService creates a new mock instance.
func (*MockCodeService) EXPECT ¶
func (m *MockCodeService) EXPECT() *MockCodeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCodeServiceMockRecorder ¶
type MockCodeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCodeServiceMockRecorder is the mock recorder for MockCodeService.
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface.
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) FindOrCreate ¶
FindOrCreate mocks base method.
func (*MockUserService) UpdateNonSensitiveInfo ¶
UpdateNonSensitiveInfo mocks base method.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
func (*MockUserServiceMockRecorder) FindById ¶
func (mr *MockUserServiceMockRecorder) FindById(ctx, uid any) *gomock.Call
FindById indicates an expected call of FindById.
func (*MockUserServiceMockRecorder) FindOrCreate ¶
func (mr *MockUserServiceMockRecorder) FindOrCreate(ctx, phone any) *gomock.Call
FindOrCreate indicates an expected call of FindOrCreate.
func (*MockUserServiceMockRecorder) Login ¶
func (mr *MockUserServiceMockRecorder) Login(ctx, email, password any) *gomock.Call
Login indicates an expected call of Login.
func (*MockUserServiceMockRecorder) Signup ¶
func (mr *MockUserServiceMockRecorder) Signup(ctx, u any) *gomock.Call
Signup indicates an expected call of Signup.
func (*MockUserServiceMockRecorder) UpdateNonSensitiveInfo ¶
func (mr *MockUserServiceMockRecorder) UpdateNonSensitiveInfo(ctx, user any) *gomock.Call
UpdateNonSensitiveInfo indicates an expected call of UpdateNonSensitiveInfo.