Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID string
A unique identifier for a source
func NewGitHubID ¶
func NewIDFromChangelog ¶
func NewLocalID ¶
type LoadResult ¶
type LoadResult struct { Raw []RawReleaseNote HasMore bool }
func (LoadResult) HasChanged ¶
func (r LoadResult) HasChanged() bool
Returns if any of the loaded release notes have changed since last access.
type RawReleaseNote ¶
type Source ¶
type Source interface { Load(ctx context.Context, page internal.Pagination) (LoadResult, error) ID() ID }
A source can be used to load raw release notes from a (remote) source like GitHub.
func NewGHSourceFromStore ¶
func NewLocalSourceFromStore ¶
func NewLocalSourceFromStore(s store.LocalSource, cache xcache.Cache) Source
Click to show internal directories.
Click to hide internal directories.