Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KeySeparator = []byte("|") KeyVerIdentifier = []byte("v2") )
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { FeedTitle string FeedURL string Title string Link string Content string Summary string Published time.Time }
Item an item from a feed and the feed it was parsed from.
type OllamaRequest ¶
type OllamaResponse ¶
type OllamaResponse struct { Response string `json:"response"` Done bool `json:"done"` DoneReason string `json:"done_reason"` TotalDuration uint64 `json:"total_duration"` LoadDuration uint64 `json:"load_duration"` PromptEvalDuration uint64 `json:"prompt_eval_duration"` EvalCount uint64 `json:"eval_count"` EvalDuration uint64 `json:"eval_duration"` }
type SortedFeedItems ¶
type SortedFeedItems []*Item
sortedFeedItems utility functions to sort a list of Item.
func (SortedFeedItems) Len ¶
func (i SortedFeedItems) Len() int
func (SortedFeedItems) Less ¶
func (i SortedFeedItems) Less(x, y int) bool
func (SortedFeedItems) Swap ¶
func (i SortedFeedItems) Swap(x, y int)
Click to show internal directories.
Click to hide internal directories.