Documentation
¶
Overview ¶
Package mock_userprofile is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) DeleteFavoriteQuery(arg0 context.Context, arg1 types.DeleteFavoriteQueryRequest) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetFavoriteQueries(arg0 context.Context, arg1 types.GetFavoriteQueriesRequest) (types.FavoriteQueries, error)
- func (m *MockService) GetOrCreateFavoriteQuery(arg0 context.Context, arg1 types.GetOrCreateFavoriteQueryRequest) (int64, error)
- func (m *MockService) GetOrCreateUserProfile(arg0 context.Context, arg1 types.GetOrCreateUserProfileRequest) (types.UserProfile, error)
- func (m *MockService) UpdateUserProfile(arg0 context.Context, arg1 types.UpdateUserProfileRequest) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) DeleteFavoriteQuery(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetFavoriteQueries(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetOrCreateFavoriteQuery(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetOrCreateUserProfile(arg0, arg1 any) *gomock.Call
- func (mr *MockServiceMockRecorder) UpdateUserProfile(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) DeleteFavoriteQuery ¶
func (m *MockService) DeleteFavoriteQuery(arg0 context.Context, arg1 types.DeleteFavoriteQueryRequest) error
DeleteFavoriteQuery mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GetFavoriteQueries ¶
func (m *MockService) GetFavoriteQueries(arg0 context.Context, arg1 types.GetFavoriteQueriesRequest) (types.FavoriteQueries, error)
GetFavoriteQueries mocks base method.
func (*MockService) GetOrCreateFavoriteQuery ¶
func (m *MockService) GetOrCreateFavoriteQuery(arg0 context.Context, arg1 types.GetOrCreateFavoriteQueryRequest) (int64, error)
GetOrCreateFavoriteQuery mocks base method.
func (*MockService) GetOrCreateUserProfile ¶
func (m *MockService) GetOrCreateUserProfile(arg0 context.Context, arg1 types.GetOrCreateUserProfileRequest) (types.UserProfile, error)
GetOrCreateUserProfile mocks base method.
func (*MockService) UpdateUserProfile ¶
func (m *MockService) UpdateUserProfile(arg0 context.Context, arg1 types.UpdateUserProfileRequest) error
UpdateUserProfile mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) DeleteFavoriteQuery ¶
func (mr *MockServiceMockRecorder) DeleteFavoriteQuery(arg0, arg1 any) *gomock.Call
DeleteFavoriteQuery indicates an expected call of DeleteFavoriteQuery.
func (*MockServiceMockRecorder) GetFavoriteQueries ¶
func (mr *MockServiceMockRecorder) GetFavoriteQueries(arg0, arg1 any) *gomock.Call
GetFavoriteQueries indicates an expected call of GetFavoriteQueries.
func (*MockServiceMockRecorder) GetOrCreateFavoriteQuery ¶
func (mr *MockServiceMockRecorder) GetOrCreateFavoriteQuery(arg0, arg1 any) *gomock.Call
GetOrCreateFavoriteQuery indicates an expected call of GetOrCreateFavoriteQuery.
func (*MockServiceMockRecorder) GetOrCreateUserProfile ¶
func (mr *MockServiceMockRecorder) GetOrCreateUserProfile(arg0, arg1 any) *gomock.Call
GetOrCreateUserProfile indicates an expected call of GetOrCreateUserProfile.
func (*MockServiceMockRecorder) UpdateUserProfile ¶
func (mr *MockServiceMockRecorder) UpdateUserProfile(arg0, arg1 any) *gomock.Call
UpdateUserProfile indicates an expected call of UpdateUserProfile.