2023-05-10 20:08:45 +02:00
|
|
|
package fetcher
|
|
|
|
|
2023-05-27 14:36:22 +02:00
|
|
|
import "ewintr.nl/yogai/model"
|
|
|
|
|
2023-05-10 20:08:45 +02:00
|
|
|
type Metadata struct {
|
|
|
|
Title string
|
|
|
|
Description string
|
|
|
|
}
|
|
|
|
|
|
|
|
type MetadataFetcher interface {
|
2023-05-27 14:36:22 +02:00
|
|
|
FetchMetadata([]model.YoutubeVideoID) (map[model.YoutubeVideoID]Metadata, error)
|
2023-05-10 20:08:45 +02:00
|
|
|
}
|