repos
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
Documentation¶
Overview¶
Package repos contains information about Go source repositories.
Index¶
Constants¶
This section is empty.
Variables¶
var ByGerritProject = map[string]*Repo{}ByGerritProject maps from a Gerrit project name ("go", "net", etc)to the Repo's information.
var ByImportPath = map[string]*Repo{}ByImportPath maps from an import path ("golang.org/x/net") to theRepo's information.
Functions¶
This section is empty.
Types¶
typeRepo¶
type Repo struct {// GoGerritProject, if non-empty, is the repo's Gerrit project// name, such as "go", "net", or "sys".GoGerritProjectstring// ImportPath is the repo's import path.// It is empty for the main Go repo and other repos that do not// contain Go code.ImportPathstring// MirrorToGitHub controls whether this repo is mirrored// from Gerrit to GitHub. If true, GoGerritProject and// gitHubRepo must both be defined.MirrorToGitHubbool// MirrorToCSRProject controls whether this repo is mirrored from// Gerrit to Cloud Source Repositories. If not empty, GoGerritProject// must be defined. It will be mirrored to a CSR repo in the given// project with the same name as the Gerrit repo.MirrorToCSRProjectstring// CoordinatorCanBuild reports whether this a repo that the// build coordinator knows how to build.CoordinatorCanBuildbool// AutoTagNextMinorVersion controls whether automatic tagging of// the next minor release version should be done for this golang.org/x repo.// See issue 48523.AutoTagNextMinorVersionbool// AutoMaintainGoDirective controls whether automatic go directive// maintenance should be done for this golang.org/x repo.// See proposal 69095.AutoMaintainGoDirectivebool// GitHubRepo is the "org/repo" of where this repo exists on// GitHub. If MirrorToGitHub is true, this is the// destination.GitHubRepostring// WebsiteDesc is the description of the repo for showing on//https://golang.org/pkg/#subrepo.// It should be plain text. Hostnames may be auto-linkified.WebsiteDescstring// contains filtered or unexported fields}func (*Repo)ShowOnDashboard¶
ShowOnDashboard reports whether this repo should show up on build.golang.orgin the list of repos at bottom.
When this returns true, r.GoGerritProject is guaranteed to be non-empty.