Documentation
¶
Index ¶
Constants ¶
View Source
const ( Github = "gh" HackerNews = "hn" Bookmark = "bm" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookmarkEntry ¶
type BookmarkEntry struct {
GUID string `json:"guid"`
Title string `json:"title"`
Index int `json:"index"`
DateAdded int64 `json:"dateAdded"`
LastModified int64 `json:"lastModified"`
ID int `json:"id"`
TypeCode int `json:"typeCode"`
Type string `json:"type"`
Root string `json:"root"`
Children []*BookmarkEntry `json:"children"`
URI string `json:"uri,omitempty"`
Iconuri string `json:"iconuri,omitempty"`
}
type Item ¶
type Item struct {
ID string `json:"id,omitempty"`
StarredAt time.Time `json:"starred_at,omitempty"`
Name string `json:"name,omitempty"`
FullName string `json:"full_name,omitempty"`
Description string `json:"description,omitempty"`
HtmlUrl string `json:"html_url,omitempty"`
Stars int `json:"stars,omitempty"`
Language string `json:"language,omitempty"`
Homepage string `json:"homepage,omitempty"`
Type ItemType `json:"type,omitempty"`
}
func GithubToItem ¶
func GithubToItem(repo *github.StarredRepository) *Item
func (*Item) ToLinkdingRequests ¶ added in v1.0.0
func (i *Item) ToLinkdingRequests() *LinkdingRequest
Click to show internal directories.
Click to hide internal directories.