Documentation
¶
Overview ¶
Package update checks GitHub for newer maitake releases and their changelogs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
func NewChecker ¶
type Section ¶
Section is one heading of a release's changelog, e.g. "Features" with its entries.
func ParseNotes ¶
ParseNotes turns a release changelog body into plain-text sections, so the dashboard never renders markup from the release.
type Settings ¶
func DefaultSettings ¶
func DefaultSettings() Settings
type Snapshot ¶
type Snapshot struct {
Current string `json:"current"`
Latest *Release `json:"latest"`
// Newer lists releases after the running version, newest first. Empty for dev builds.
Newer []Release `json:"newer"`
CheckedAt *time.Time `json:"checkedAt"`
Error string `json:"error,omitempty"`
}