diff --git a/pages/common/go-fmt.md b/pages/common/go-fmt.md index b78ec7328e..8efdc85808 100644 --- a/pages/common/go-fmt.md +++ b/pages/common/go-fmt.md @@ -1,6 +1,7 @@ # go fmt > Format Go source files, printing the changed filenames. +> Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory. > More information: . - Format Go source files in the current directory: diff --git a/pages/common/go-list.md b/pages/common/go-list.md index 313fea2cde..f05d619aab 100644 --- a/pages/common/go-list.md +++ b/pages/common/go-list.md @@ -1,6 +1,7 @@ # go list > List packages or modules. +> Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory. > More information: . - List packages: diff --git a/pages/common/go-test.md b/pages/common/go-test.md index 6640792a19..67b6dd91f7 100644 --- a/pages/common/go-test.md +++ b/pages/common/go-test.md @@ -1,6 +1,7 @@ # go test > Test Go packages (files have to end with `_test.go`). +> Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory. > More information: . - Test the package found in the current directory: @@ -11,7 +12,7 @@ `go test -v` -- Test the packages in the current directory and all subdirectories (note the `...`): +- Test the packages in the current directory and all subdirectories: `go test -v ./...`