1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
Maksym Pavlenko e764ab6b92 Refactor packages
2020-04-18 14:52:15 -07:00

25 lines
449 B
Go

package model
type Type string
const (
TypeChannel = Type("channel")
TypePlaylist = Type("playlist")
TypeUser = Type("user")
TypeGroup = Type("group")
)
type Provider string
const (
ProviderYoutube = Provider("youtube")
ProviderVimeo = Provider("vimeo")
)
// Info represents data extracted from URL
type Info struct {
LinkType Type // Either group, channel or user
Provider Provider // Youtube or Vimeo
ItemID string
}