Documentation ¶
Overview ¶
Command fetch_repo downloads a Go module or repository at a specific version or commit.
In module mode, fetch_repo downloads a module using "go mod download", verifies the contents against a sum, then copies the contents of the module to a target directory. fetch_repo respects GOPATH, GOCACHE, and GOPROXY.
In repository mode, fetch_repo clones a repository using a VCS tool. fetch_repo performs import path redirection in this mode.
Click to show internal directories.
Click to hide internal directories.