Documentation
¶
Index ¶
Constants ¶
View Source
const CurrentVersion string = "https://jsonfeed.org/version/1.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Url string `json:"url"` MimeType string `json:"mime_type"` Title *string `json:"title"` SizeInBytes *int `json:"size_in_bytes"` DurationInSeconds *int `json:"duration_in_seconds"` }
func (*Attachment) IsValid ¶
func (a *Attachment) IsValid() bool
type Author ¶
type Feed ¶
type Feed struct { Version string `json:"version"` Title string `json:"title"` HomePageUrl *string `json:"home_page_url"` FeedUrl *string `json:"feed_url"` Description *string `json:"Description"` UserComment *string `json:"user_comment"` NextUrl *string `json:"next_url"` Icon *string `json:"icon"` Favicon *string `json:"favicon"` Language *string `json:"language"` Expired *bool `json:"expired"` Authors []Author `json:"authors"` Hubs []Hub `json:"hubs"` Items []Item `json:"items"` }
func FromString ¶ added in v0.2.0
type Item ¶
type Item struct { Id string `json:"id"` Url *string `json:"url"` ExternalUrl *string `json:"external_url"` Title *string `json:"title"` ContentHtml *string `json:"content_html"` ContentText *string `json:"content_text"` Summary *string `json:"summary"` Image *string `json:"image"` BannerImage *string `json:"banner_image"` DatePublished *time.Time `json:"date_published"` DateModified *time.Time `json:"date_modified"` Language *string `json:"language"` Authors []Author `json:"authors"` Tags []string `json:"tags"` Attachments []Attachment `json:"attachments"` }
Click to show internal directories.
Click to hide internal directories.