Documentation ¶
Overview ¶
Package mock_youtube is a generated GoMock package.
Index ¶
- type MockYoutubeClient
- func (m *MockYoutubeClient) Channels(ctx context.Context, param youtube.ChannelsParam) (model.Channels, error)
- func (m *MockYoutubeClient) EXPECT() *MockYoutubeClientMockRecorder
- func (m *MockYoutubeClient) GetVideos(ctx context.Context, param youtube.VideosParam) (model.Videos, error)
- func (m *MockYoutubeClient) SearchVideos(ctx context.Context, param youtube.SearchVideosParam) (model.Videos, error)
- type MockYoutubeClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockYoutubeClient ¶
type MockYoutubeClient struct {
// contains filtered or unexported fields
}
MockYoutubeClient is a mock of YoutubeClient interface.
func NewMockYoutubeClient ¶
func NewMockYoutubeClient(ctrl *gomock.Controller) *MockYoutubeClient
NewMockYoutubeClient creates a new mock instance.
func (*MockYoutubeClient) Channels ¶
func (m *MockYoutubeClient) Channels(ctx context.Context, param youtube.ChannelsParam) (model.Channels, error)
Channels mocks base method.
func (*MockYoutubeClient) EXPECT ¶
func (m *MockYoutubeClient) EXPECT() *MockYoutubeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockYoutubeClient) GetVideos ¶
func (m *MockYoutubeClient) GetVideos(ctx context.Context, param youtube.VideosParam) (model.Videos, error)
GetVideos mocks base method.
func (*MockYoutubeClient) SearchVideos ¶
func (m *MockYoutubeClient) SearchVideos(ctx context.Context, param youtube.SearchVideosParam) (model.Videos, error)
SearchVideos mocks base method.
type MockYoutubeClientMockRecorder ¶
type MockYoutubeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockYoutubeClientMockRecorder is the mock recorder for MockYoutubeClient.
func (*MockYoutubeClientMockRecorder) Channels ¶
func (mr *MockYoutubeClientMockRecorder) Channels(ctx, param any) *gomock.Call
Channels indicates an expected call of Channels.
func (*MockYoutubeClientMockRecorder) GetVideos ¶
func (mr *MockYoutubeClientMockRecorder) GetVideos(ctx, param any) *gomock.Call
GetVideos indicates an expected call of GetVideos.
func (*MockYoutubeClientMockRecorder) SearchVideos ¶
func (mr *MockYoutubeClientMockRecorder) SearchVideos(ctx, param any) *gomock.Call
SearchVideos indicates an expected call of SearchVideos.
Click to show internal directories.
Click to hide internal directories.