Documentation ¶
Overview ¶
Package godlremote provides an adapter to access the Go download site.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DownloadBase = "https://go.dev/dl/"
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"` ChecksumSHA256 string `json:"sha256"` Size int64 `json:"size"` Kind string `json:"kind"` // "archive", "installer", "source" }
File represents a file on the go.dev downloads page. It should be kept in sync with the upload code in x/build/cmd/release.
type Release ¶
type Release struct { Version string `json:"version"` Stable bool `json:"stable"` Files []File `json:"files"` }
Release represents a release. It should be kept in sync with the dl code in golang/website/internal/dl.
Click to show internal directories.
Click to hide internal directories.