Documentation
¶
Overview ¶
Package youtube is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIService ¶
type MockIService struct {
// contains filtered or unexported fields
}
MockIService is a mock of IService interface.
func NewMockIService ¶
func NewMockIService(ctrl *gomock.Controller) *MockIService
NewMockIService creates a new mock instance.
func (*MockIService) EXPECT ¶
func (m *MockIService) EXPECT() *MockIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIService) FindVideosByChannelID ¶
func (m *MockIService) FindVideosByChannelID(id string) ([]*youtube.Video, error)
FindVideosByChannelID mocks base method.
type MockIServiceMockRecorder ¶
type MockIServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIServiceMockRecorder is the mock recorder for MockIService.
func (*MockIServiceMockRecorder) FindVideosByChannelID ¶
func (mr *MockIServiceMockRecorder) FindVideosByChannelID(id any) *gomock.Call
FindVideosByChannelID indicates an expected call of FindVideosByChannelID.
type Repository ¶
type Repository struct {
Service IService
}
func NewRepository ¶
func NewRepository(service IService) *Repository
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) FindVideosByChannelID ¶
Click to show internal directories.
Click to hide internal directories.