From: Rob Pike Date: Sun, 26 Feb 2012 22:51:58 +0000 (+1100) Subject: cmd/go: explain x... vs. x/... in help importpath X-Git-Tag: weekly.2012-03-04~146 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b49dcb9d37cd5856fe273a0ceb56e70ce03e969f;p=gostls13.git cmd/go: explain x... vs. x/... in help importpath Fixes #3110. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5696083 --- diff --git a/src/cmd/go/help.go b/src/cmd/go/help.go index 33716eff9e..125eb2b78c 100644 --- a/src/cmd/go/help.go +++ b/src/cmd/go/help.go @@ -34,8 +34,9 @@ An import path is a pattern if it includes one or more "..." wildcards, each of which can match any string, including the empty string and strings containing slashes. Such a pattern expands to all package directories found in the GOPATH trees with names matching the -patterns. For example, encoding/... expands to all packages -in the encoding tree. +patterns. For example, encoding/... expands to all package +in subdirectories of the encoding tree, while net... expands to +net and all its subdirectories. An import path can also name a package to be downloaded from a remote repository. Run 'go help remote' for details.