LEFT | RIGHT |
1 <!--{ | 1 <!--{ |
2 "Title": "Command Documentation", | 2 "Title": "Command Documentation", |
3 "Path": "/ref/cmd" | 3 "Path": "/ref/cmd" |
4 }--> | 4 }--> |
5 | 5 |
| 6 <p> |
| 7 Click on the links for more documentation and usage messages. |
| 8 </p> |
| 9 |
6 <table class="dir"> | 10 <table class="dir"> |
7 <tr> | 11 <tr> |
8 <th>Name</th> | 12 <th>Name</th> |
9 <th> </th> | 13 <th> </th> |
10 <th style="text-align: left; width: auto">Synopsis</th> | 14 <th>Synopsis</th> |
| 15 </tr> |
| 16 |
| 17 <tr> |
| 18 <td><a href="/cmd/go/">go</a></td> |
| 19 <td> </td> |
| 20 <td> |
| 21 Go is a tool for managing Go source code. |
| 22 <br> |
| 23 Besides compiling and running Go programs, the go command is also used to |
| 24 invoke the other commands listed below. See the command docs for usage |
| 25 details. |
| 26 <br><br> |
| 27 </td> |
11 </tr> | 28 </tr> |
12 | 29 |
13 <tr> | 30 <tr> |
14 <td><a href="/cmd/cgo/">cgo</a></td> | 31 <td><a href="/cmd/cgo/">cgo</a></td> |
15 <td> </td> | 32 <td> </td> |
16 <td style="width: auto">Cgo enables the creation of Go packages that call C code
.</td> | 33 <td>Cgo enables the creation of Go packages that call C code.</td> |
17 </tr> | 34 </tr> |
18 | 35 |
19 <tr> | 36 <tr> |
20 <td><a href="/cmd/cov/">cov</a></td> | 37 <td><a href="/cmd/cov/">cov</a></td> |
21 <td> </td> | 38 <td> </td> |
22 <td style="width: auto">Cov is a rudimentary code coverage tool.</td> | 39 <td>Cov is a rudimentary code coverage tool.</td> |
23 </tr> | 40 </tr> |
24 | 41 |
25 <tr> | 42 <tr> |
26 <td><a href="/cmd/fix/">fix</a></td> | 43 <td><a href="/cmd/fix/">fix</a></td> |
27 <td> </td> | 44 <td> </td> |
28 <td style="width: auto">Fix finds Go programs that use old APIs and rewrites the
m to use newer ones.</td> | 45 <td>Fix finds Go programs that use old features of the language and libraries |
29 </tr> | 46 and rewrites them to use newer ones.</td> |
30 | |
31 <tr> | |
32 <td><a href="/cmd/go/">go</a></td> | |
33 <td> </td> | |
34 <td style="width: auto">Go is a tool for managing Go source code.</td> | |
35 </tr> | 47 </tr> |
36 | 48 |
37 <tr> | 49 <tr> |
38 <td><a href="/cmd/godoc/">godoc</a></td> | 50 <td><a href="/cmd/godoc/">godoc</a></td> |
39 <td> </td> | 51 <td> </td> |
40 <td style="width: auto">Godoc extracts and generates documentation for Go progra
ms.</td> | 52 <td>Godoc extracts and generates documentation for Go programs.</td> |
41 </tr> | 53 </tr> |
42 | 54 |
43 <tr> | 55 <tr> |
44 <td><a href="/cmd/gofmt/">gofmt</a></td> | 56 <td><a href="/cmd/gofmt/">gofmt</a></td> |
45 <td> </td> | 57 <td> </td> |
46 <td style="width: auto">Gofmt formats Go programs.</td> | 58 <td>Gofmt formats Go programs.</td> |
47 </tr> | 59 </tr> |
48 | 60 |
49 <tr> | 61 <tr> |
50 <td><a href="/cmd/prof/">prof</a></td> | 62 <td><a href="/cmd/prof/">prof</a></td> |
51 <td> </td> | 63 <td> </td> |
52 <td style="width: auto">Prof is a rudimentary real-time profiler.</td> | 64 <td>Prof is a rudimentary real-time profiler.</td> |
53 </tr> | 65 </tr> |
54 | 66 |
55 <tr> | 67 <tr> |
56 <td><a href="/cmd/vet/">vet</a></td> | 68 <td><a href="/cmd/vet/">vet</a></td> |
57 <td> </td> | 69 <td> </td> |
58 <td style="width: auto">Vet examines Go source code and reports suspicious const
ructs, such as Printf calls whose arguments do not align with the format string.
</td> | 70 <td>Vet examines Go source code and reports suspicious constructs, such as Print
f calls whose arguments do not align with the format string.</td> |
59 </tr> | 71 </tr> |
60 | 72 |
61 <tr> | 73 <tr> |
62 <td><a href="/cmd/yacc/">yacc</a></td> | 74 <td><a href="/cmd/yacc/">yacc</a></td> |
63 <td> </td> | 75 <td> </td> |
64 <td style="width: auto">Yacc is a version of yacc for Go.</td> | 76 <td>Yacc is a version of yacc for Go.</td> |
65 </tr> | 77 </tr> |
66 | 78 |
67 </table> | 79 </table> |
68 | 80 |
69 <p> | 81 <p> |
70 This is an abridged list. See the <a href="/cmd/">full command reference</a> | 82 This is an abridged list. See the <a href="/cmd/">full command reference</a> |
71 for documentation of the compilers and more. | 83 for documentation of the compilers and more. |
72 </p> | 84 </p> |
LEFT | RIGHT |