Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockUserService
- func (m *MockUserService) Authentication(ctx context.Context) (*domain.User, error)
- func (m *MockUserService) Create(ctx context.Context, u *domain.User) (*domain.User, error)
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) Update(ctx context.Context, u *domain.User) (*domain.User, error)
- func (m *MockUserService) UploadThumbnail(ctx context.Context, data []byte) (string, error)
- type MockUserServiceMockRecorder
- func (mr *MockUserServiceMockRecorder) Authentication(ctx interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Create(ctx, u interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Update(ctx, u interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) UploadThumbnail(ctx, data interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Authentication ¶
Authentication mocks base method
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserService) UploadThumbnail ¶
UploadThumbnail mocks base method
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService
func (*MockUserServiceMockRecorder) Authentication ¶
func (mr *MockUserServiceMockRecorder) Authentication(ctx interface{}) *gomock.Call
Authentication indicates an expected call of Authentication
func (*MockUserServiceMockRecorder) Create ¶
func (mr *MockUserServiceMockRecorder) Create(ctx, u interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockUserServiceMockRecorder) Update ¶
func (mr *MockUserServiceMockRecorder) Update(ctx, u interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockUserServiceMockRecorder) UploadThumbnail ¶
func (mr *MockUserServiceMockRecorder) UploadThumbnail(ctx, data interface{}) *gomock.Call
UploadThumbnail indicates an expected call of UploadThumbnail
Click to show internal directories.
Click to hide internal directories.