Documentation ¶ Index ¶ func Clean(path string) (string, error) func Download(path, dest string) (root *vcs.RepoRoot, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Clean ¶ func Clean(path string) (string, error) Clean trims any URL parts, like the scheme or username, that might be present in a user-submitted URL func Download ¶ func Download(path, dest string) (root *vcs.RepoRoot, err error) Download takes a user-provided string that represents a remote Go repository, and attempts to download it in a way similar to go get. It is forgiving in terms of the exact path given: the path may have a scheme or username, which will be trimmed. Types ¶ This section is empty. Source Files ¶ View all Source files download.go Click to show internal directories. Click to hide internal directories.