Documentation ¶
Index ¶
- Variables
- func ConvertDate(dateString string) string
- func FetchURL(url string, preferCache bool) []byte
- func Max(a, b int) int
- func OpenURL(url string) error
- func ParseUrls() []string
- func RenderMarkdown(content string) string
- func TableStyle() table.Styles
- func URLToDir(url string) string
- type Feed
- type Feeds
- type Post
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MainStyle = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder(), true). BorderForeground(lipgloss.Color("240")). Padding(0, 1). Margin(0) ReaderStyle = lipgloss.NewStyle() )
Functions ¶
func ConvertDate ¶
func OpenURL ¶
https://stackoverflow.com/questions/39320371/how-start-web-server-to-open-page-in-browser-in-golang openURL opens the specified URL in the default browser of the user.
func RenderMarkdown ¶ added in v0.0.4
func TableStyle ¶ added in v0.0.3
Types ¶
type Feed ¶ added in v0.0.3
type Feed struct { Title string `json:"-"` URL string `json:"URL"` Posts []Post `json:"posts"` ID int `json:"-"` }
func GetContentForURL ¶ added in v0.0.2
func (Feed) GetTotalUnreads ¶ added in v0.0.5
type Feeds ¶ added in v0.0.2
type Feeds []Feed
func GetAllContent ¶ added in v0.0.2
go reotines am irite
func (Feeds) ReadTracking ¶ added in v0.0.5
Read from JSON file
func (Feeds) WriteTracking ¶ added in v0.0.5
Source Files ¶
Click to show internal directories.
Click to hide internal directories.