Documentation ¶
Overview ¶
Package stdlib supports special handling of the Go standard library. Regardless of the how the standard library has been split into modules for development and testing, the discovery site treats it as a single module named "std".
Index ¶
Constants ¶
View Source
const ( // ModulePath is the name of the module for the standard library. ModulePath = "std" // DevFuzz is the branch name for fuzzing in beta. DevFuzz = "dev.fuzz" // DevBoringCrypto is the branch name for dev.boringcrypto. DevBoringCrypto = "dev.boringcrypto" )
View Source
const (
GoSourceRepoURL = "https://cs.opensource.google/go/go"
)
Variables ¶
View Source
var SupportedBranches = map[string]bool{ version.Master: true, DevBoringCrypto: true, DevFuzz: true, }
SupportedBranches are the branches of the stdlib repo supported by pkgsite.
Functions ¶
func TagForVersion ¶
TagForVersion returns the Go standard library repository tag corresponding to semver. The Go tags differ from standard semantic versions in a few ways, such as beginning with "go" instead of "v".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.