Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Index ¶
- type MockChannel
- type MockChannelMockRecorder
- type MockCreator
- func (m_2 *MockCreator) BatchCreate(ctx context.Context, m model.Creators) (model.Creators, error)
- func (m *MockCreator) Count(ctx context.Context, query repository.ListCreatorsQuery) (uint64, error)
- func (m *MockCreator) EXPECT() *MockCreatorMockRecorder
- func (m *MockCreator) Exist(ctx context.Context, query repository.GetCreatorQuery) (bool, error)
- func (m *MockCreator) List(ctx context.Context, query repository.ListCreatorsQuery) (model.Creators, error)
- type MockCreatorMockRecorder
- type MockVideo
- func (m_2 *MockVideo) BatchDeleteInsert(ctx context.Context, m model.Videos) (model.Videos, error)
- func (m *MockVideo) Count(ctx context.Context, query repository.ListVideosQuery) (uint64, error)
- func (m *MockVideo) EXPECT() *MockVideoMockRecorder
- func (m *MockVideo) List(ctx context.Context, query repository.ListVideosQuery) (model.Videos, error)
- type MockVideoMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChannel ¶
type MockChannel struct {
// contains filtered or unexported fields
}
MockChannel is a mock of Channel interface.
func NewMockChannel ¶
func NewMockChannel(ctrl *gomock.Controller) *MockChannel
NewMockChannel creates a new mock instance.
func (*MockChannel) BatchCreate ¶
BatchCreate mocks base method.
func (*MockChannel) EXPECT ¶
func (m *MockChannel) EXPECT() *MockChannelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChannel) Exist ¶
func (m *MockChannel) Exist(ctx context.Context, query repository.GetChannelQuery) (bool, error)
Exist mocks base method.
type MockChannelMockRecorder ¶
type MockChannelMockRecorder struct {
// contains filtered or unexported fields
}
MockChannelMockRecorder is the mock recorder for MockChannel.
func (*MockChannelMockRecorder) BatchCreate ¶
func (mr *MockChannelMockRecorder) BatchCreate(ctx, m any) *gomock.Call
BatchCreate indicates an expected call of BatchCreate.
type MockCreator ¶
type MockCreator struct {
// contains filtered or unexported fields
}
MockCreator is a mock of Creator interface.
func NewMockCreator ¶
func NewMockCreator(ctrl *gomock.Controller) *MockCreator
NewMockCreator creates a new mock instance.
func (*MockCreator) BatchCreate ¶
BatchCreate mocks base method.
func (*MockCreator) Count ¶
func (m *MockCreator) Count(ctx context.Context, query repository.ListCreatorsQuery) (uint64, error)
Count mocks base method.
func (*MockCreator) EXPECT ¶
func (m *MockCreator) EXPECT() *MockCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCreator) Exist ¶
func (m *MockCreator) Exist(ctx context.Context, query repository.GetCreatorQuery) (bool, error)
Exist mocks base method.
func (*MockCreator) List ¶
func (m *MockCreator) List(ctx context.Context, query repository.ListCreatorsQuery) (model.Creators, error)
List mocks base method.
type MockCreatorMockRecorder ¶
type MockCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockCreatorMockRecorder is the mock recorder for MockCreator.
func (*MockCreatorMockRecorder) BatchCreate ¶
func (mr *MockCreatorMockRecorder) BatchCreate(ctx, m any) *gomock.Call
BatchCreate indicates an expected call of BatchCreate.
func (*MockCreatorMockRecorder) Count ¶
func (mr *MockCreatorMockRecorder) Count(ctx, query any) *gomock.Call
Count indicates an expected call of Count.
type MockVideo ¶
type MockVideo struct {
// contains filtered or unexported fields
}
MockVideo is a mock of Video interface.
func NewMockVideo ¶
func NewMockVideo(ctrl *gomock.Controller) *MockVideo
NewMockVideo creates a new mock instance.
func (*MockVideo) BatchDeleteInsert ¶
BatchDeleteInsert mocks base method.
func (*MockVideo) Count ¶
func (m *MockVideo) Count(ctx context.Context, query repository.ListVideosQuery) (uint64, error)
Count mocks base method.
func (*MockVideo) EXPECT ¶
func (m *MockVideo) EXPECT() *MockVideoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVideo) List ¶
func (m *MockVideo) List(ctx context.Context, query repository.ListVideosQuery) (model.Videos, error)
List mocks base method.
type MockVideoMockRecorder ¶
type MockVideoMockRecorder struct {
// contains filtered or unexported fields
}
MockVideoMockRecorder is the mock recorder for MockVideo.
func (*MockVideoMockRecorder) BatchDeleteInsert ¶
func (mr *MockVideoMockRecorder) BatchDeleteInsert(ctx, m any) *gomock.Call
BatchDeleteInsert indicates an expected call of BatchDeleteInsert.