Documentation
¶
Overview ¶
Package version Gets information about releases and build.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Filename string `json:"filename"`
OS string `json:"os"`
Arch string `json:"arch"`
Version string `json:"version"`
SHA256 string `json:"sha256"`
Size int `json:"size"`
Kind string `json:"kind"`
}
File represents a file on the golang.org downloads page.
type Release ¶
type Release struct {
Version string `json:"version"`
Stable bool `json:"stable"`
Files []File `json:"files"`
}
Release represents a release on the golang.org downloads page.
func GetReleases ¶
GetReleases gets build information.
type Revision ¶
type Revision struct {
Repo string `json:"repo"`
Revision string `json:"revision"`
Date time.Time `json:"date"`
Branch string `json:"branch"`
Author string `json:"author"`
Desc string `json:"desc"`
Results []string `json:"results"`
GoRevision string `json:"goRevision,omitempty"`
GoBranch string `json:"goBranch,omitempty"`
}
Revision information.
Click to show internal directories.
Click to hide internal directories.