Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorInvalidPath = "cannot read or create store at given path" ErrorStoreDoesNotExist = "no existing store found" )
Variables ¶
This section is empty.
Functions ¶
func ParseElapsed ¶ added in v0.4.0
Types ¶
type Episode ¶
type Episode struct { ID int `json:"id"` Title string `json:"title"` URL string `json:"url"` Mp3 string `json:"mp3"` Length string `json:"length"` Published time.Time `json:"published"` Played bool `json:"played"` Elapsed int `json:"elapsed"` }
Episode data
type Episodes ¶
type Episodes []*Episode
Episodes is its own type in order to implement a sort interface
type Feed ¶
type Feed struct { Title string `json:"title"` URL string `json:"url"` RSS string `json:"rss"` Updated time.Time `json:"updated"` Episodes Episodes `json:"episodes"` Playlists map[string][]int `json:"playlists"` }
Feed data
Click to show internal directories.
Click to hide internal directories.