Documentation ¶
Overview ¶
Package goreleases builds a more complete version of the release data available at https://golang.org/dl/?mode=json&include=all. The main difference is goreleases included prerelease versions from the past.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindConflicts ¶ added in v0.2.0
FindConflicts returns conflicts that would prevent automatically merging head into base. Conflicts include missing releases in head and any change to an existing release.
Types ¶
type FetchReleasesOptions ¶
type FetchReleasesOptions struct { HTTPClient *http.Client SkipVersions []string // go versions to skip ( like go1.7.2 which was pulled ) }
FetchReleasesOptions options for FetchReleases
type Release ¶
type Release struct { Version string `json:"version"` Stable bool `json:"stable"` Files []ReleaseFile `json:"files"` }
Release is a go release
func FetchReleases ¶
func FetchReleases(ctx context.Context, options *FetchReleasesOptions) ([]Release, error)
FetchReleases fetches release data from storage.googleapis.com/golang and golang.org/dl
Click to show internal directories.
Click to hide internal directories.