Commit 3b214175 authored by David Symonds's avatar David Symonds

cmd/go: fix count of number of reserved names (doc change).

Change-Id: I2784f831453d929df64c66febb4982cdf1f08e06
Reviewed-on: https://go-review.googlesource.com/10133Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent 335e44d2
...@@ -503,6 +503,7 @@ syntax of package template. The default output is equivalent to -f ...@@ -503,6 +503,7 @@ syntax of package template. The default output is equivalent to -f
Name string // package name Name string // package name
Doc string // package documentation string Doc string // package documentation string
Target string // install path Target string // install path
Shlib string // the shared library that contains this package (only set when -linkshared)
Goroot bool // is this package in the Go root? Goroot bool // is this package in the Go root?
Standard bool // is this package part of the standard Go library? Standard bool // is this package part of the standard Go library?
Stale bool // would 'go install' do anything for this package? Stale bool // would 'go install' do anything for this package?
...@@ -1053,7 +1054,7 @@ environment variable (see 'go help gopath'). ...@@ -1053,7 +1054,7 @@ environment variable (see 'go help gopath').
If no import paths are given, the action applies to the If no import paths are given, the action applies to the
package in the current directory. package in the current directory.
There are three reserved names for paths that should not be used There are four reserved names for paths that should not be used
for packages to be built with the go tool: for packages to be built with the go tool:
- "main" denotes the top-level package in a stand-alone executable. - "main" denotes the top-level package in a stand-alone executable.
......
...@@ -47,7 +47,7 @@ environment variable (see 'go help gopath'). ...@@ -47,7 +47,7 @@ environment variable (see 'go help gopath').
If no import paths are given, the action applies to the If no import paths are given, the action applies to the
package in the current directory. package in the current directory.
There are three reserved names for paths that should not be used There are four reserved names for paths that should not be used
for packages to be built with the go tool: for packages to be built with the go tool:
- "main" denotes the top-level package in a stand-alone executable. - "main" denotes the top-level package in a stand-alone executable.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment