1
0
mirror of https://github.com/golang/go synced 2024-11-25 04:57:56 -07:00

doc/articles/go_command.html: nits

Fix some English mistakes and minor inaccuracies.

R=golang-dev, jsing
CC=golang-dev
https://golang.org/cl/5885046
This commit is contained in:
Rob Pike 2012-03-22 17:59:06 +11:00
parent 07e887f433
commit cec67568e9

View File

@ -42,12 +42,12 @@ statements.</p>
<h2>Configuration versus convention</h2> <h2>Configuration versus convention</h2>
<p>The way to achieve the simplicity of a configuration-free system is to <p>The way to achieve the simplicity of a configuration-free system is to
establish conventions. The system works only to the extent that the convention establish conventions. The system works only to the extent that those conventions
is followed. When we first launched Go, many people published packages that are followed. When we first launched Go, many people published packages that
had to be installed in certain places, under certain names, using certain build had to be installed in certain places, under certain names, using certain build
tools, in order to be used. That's understandable: that's the way it works in tools, in order to be used. That's understandable: that's the way it works in
most other languages. Over the last few years we consistently reminded people most other languages. Over the last few years we consistently reminded people
about the old <code>goinstall</code> command about the <code>goinstall</code> command
(now replaced by <a href="/cmd/go/#Download_and_install_packages_and_dependencies"><code>go get</code></a>) (now replaced by <a href="/cmd/go/#Download_and_install_packages_and_dependencies"><code>go get</code></a>)
and its conventions: first, that the import path is derived in a known way from and its conventions: first, that the import path is derived in a known way from
the URL of the source code; second, that that the place to store the sources in the URL of the source code; second, that that the place to store the sources in
@ -55,7 +55,7 @@ the local file system is derived in a known way from the import path; third,
that each directory in a source tree corresponds to a single package; and that each directory in a source tree corresponds to a single package; and
fourth, that the package is built using only information in the source code. fourth, that the package is built using only information in the source code.
Today, the vast majority of packages follow these conventions. Today, the vast majority of packages follow these conventions.
The Go ecosystem is simpler and more powerful for it.</p> The Go ecosystem is simpler and more powerful as a result.</p>
<p>We received many requests to allow a makefile in a package directory to <p>We received many requests to allow a makefile in a package directory to
provide just a little extra configuration beyond what's in the source code. provide just a little extra configuration beyond what's in the source code.