Documentation
¶
Overview ¶
Package fetch provides GitHub release fetching functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
Fetcher coordinates fetching releases from multiple GitHub sources.
func NewFetcher ¶
func NewFetcher(config *releaselog.Config) *Fetcher
NewFetcher creates a new Fetcher with the given configuration. It uses the GITHUB_TOKEN environment variable for authentication.
func NewFetcherWithClient ¶
func NewFetcherWithClient(config *releaselog.Config, client *github.Client) *Fetcher
NewFetcherWithClient creates a new Fetcher with a custom GitHub client.
func (*Fetcher) Fetch ¶
func (f *Fetcher) Fetch(ctx context.Context) (*releaselog.ReleaseLog, error)
Fetch fetches all releases from configured sources.
Click to show internal directories.
Click to hide internal directories.