Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Episode ¶
type Episode struct { BaseModel PodcastRef uint `json:"podcast_ref"` GUID string `json:"guid"` Title string `json:"title"` Description string `json:"description"` URL string `json:"url"` Duration string `json:"duration"` Type string `json:"type"` ImageURL string `json:"image_url"` ImageTitle string `json:"image_title"` Published *time.Time `json:"published"` }
func NewEpisodeFromItem ¶
type Podcast ¶
type Podcast struct { BaseModel Author string `json:"author" gorm:""` Description string `json:"description"` FeedURL *string `json:"feed_url" gorm:"not null;unique"` ImageTitle string `json:"image_title" gorm:""` ImageURL string `json:"image_url" gorm:""` Link string `json:"link"` Title string `json:"title" gorm:"not_null"` ImageResized200 []byte `json:"-"` Episodes []*Episode `json:"episodes" gorm:"ForeignKey:PodcastRef"` }
Click to show internal directories.
Click to hide internal directories.