mock_youtube

package
v0.0.0-...-da86336 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_youtube is a generated GoMock package.

Index

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

Channels mocks base method.

func (*MockYoutubeClient) EXPECT

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL