package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 27, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Article struct {
Post Post `json:"post"`
}
type ClubInfo struct {
Type string `json:"type"`
Slug string `json:"slug"`
ViewCount int `json:"view_count"`
Upvotes int `json:"upvotes"`
IsPublic bool `json:"is_public"`
}
type FeedItem struct {
ID string `json:"id"`
URL string `json:"url"`
Title string `json:"title"`
ContentText string `json:"content_text"`
DatePublished time.Time `json:"date_published"`
DateModified time.Time `json:"date_modified"`
Authors []ItemAuthor `json:"authors"`
Club ClubInfo `json:"_club"`
}
type FeedPage struct {
Version string `json:"version"`
Title string `json:"title"`
HomePageURL string `json:"home_page_url"`
FeedURL string `json:"feed_url"`
NextURL string `json:"next_url"`
Items []FeedItem `json:"items"`
}
type ItemAuthor struct {
Name string `json:"name"`
URL string `json:"url"`
Avatar string `json:"avatar"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.