mirror of
https://github.com/golang/go
synced 2024-11-21 22:24:40 -07:00
doc: remove cov and prof from /ref/cmd
Update #3400 R=golang-dev, r CC=golang-dev https://golang.org/cl/5921044
This commit is contained in:
parent
849ad2d0ca
commit
9031f952e2
@ -10,27 +10,25 @@ by the <a href="/cmd/go/">go</a> program.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The most common way to run these programs is as a subcommand of the go
|
The most common way to run these programs is as a subcommand of the go program,
|
||||||
program,
|
for instance as <code>go fmt</code>. Run like this, the command operates on
|
||||||
for instance as "go fmt". Run like this, the command operates on complete
|
complete packages of Go source code, with the go program invoking the
|
||||||
packages of Go source code, with the go program invoking the underlying binary
|
underlying binary with arguments appropriate to package-level processing.
|
||||||
with arguments appropriate to package-level processing.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The programs can also be run as stand-alone binaries, with unmodified arguments,
|
The programs can also be run as stand-alone binaries, with unmodified arguments,
|
||||||
using the go tool subcommand, such as "go tool vet".
|
using the go <code>tool</code> subcommand, such as <code>go tool vet</code>.
|
||||||
This style of invocation allows, for instance, checking a single source file rather than
|
This style of invocation allows, for instance, checking a single source file
|
||||||
an entire package: "go tool vet myprogram.go" as compared to
|
rather than an entire package: <code>go tool vet myprogram.go</code> as
|
||||||
"go vet mypackage".
|
compared to <code>go vet mypackage</code>.
|
||||||
Some of the commands, such as prof and yacc, are accessible
|
Some of the commands, such as <code>yacc</code>, are accessible only through
|
||||||
only through the go tool subcommand.
|
the go <code>tool</code> subcommand.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Finally, two of the commands, fmt and
|
Finally, two of the commands, <code>fmt</code> and <code>doc</code>, are also
|
||||||
doc, are also installed as regular binaries called
|
installed as regular binaries called <code>gofmt</code> and <code>godoc</code>
|
||||||
gofmt and godoc
|
|
||||||
because they are so often referenced.
|
because they are so often referenced.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -63,12 +61,6 @@ details.
|
|||||||
<td>Cgo enables the creation of Go packages that call C code.</td>
|
<td>Cgo enables the creation of Go packages that call C code.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td><a href="/cmd/cov/">cov</a></td>
|
|
||||||
<td> </td>
|
|
||||||
<td>Cov is a rudimentary code coverage tool.</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/cmd/fix/">fix</a></td>
|
<td><a href="/cmd/fix/">fix</a></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
@ -90,12 +82,6 @@ an independent <a href="/cmd/godoc/">godoc</a> command with more general options
|
|||||||
gofmt</a> command with more general options.</td>
|
gofmt</a> command with more general options.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td><a href="/cmd/prof/">prof</a></td>
|
|
||||||
<td> </td>
|
|
||||||
<td>Prof is a rudimentary real-time profiler.</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/cmd/vet/">vet</a></td>
|
<td><a href="/cmd/vet/">vet</a></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
|
Loading…
Reference in New Issue
Block a user