Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { GetChannelIDByURL(ctx context.Context, url string) (string, int, error) GetChannelByID(ctx context.Context, id string) (*entity.Channel, int, error) GetVideoIDsByChannelID(ctx context.Context, channelID string) ([]string, int, error) GetVideosByIDs(ctx context.Context, ids []string) ([]entity.Video, int, error) }
Repository contains functions for youtube domain.
Click to show internal directories.
Click to hide internal directories.