| 
									
										
										
										
											2012-03-05 15:30:27 +11:00
										 |  |  | <!--{
 | 
					
						
							|  |  |  | 	"Title": "Command Documentation", | 
					
						
							|  |  |  | 	"Path":  "/ref/cmd" | 
					
						
							|  |  |  | }--> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <p> | 
					
						
							|  |  |  | Click on the links for more documentation and usage messages. | 
					
						
							|  |  |  | </p> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <table class="dir"> | 
					
						
							|  |  |  | <tr> | 
					
						
							|  |  |  | <th>Name</th> | 
					
						
							|  |  |  | <th>    </th> | 
					
						
							|  |  |  | <th>Synopsis</th> | 
					
						
							|  |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							|  |  |  | <td><a href="/cmd/go/">go</a></td> | 
					
						
							|  |  |  | <td>    </td> | 
					
						
							|  |  |  | <td> | 
					
						
							|  |  |  | Go is a tool for managing Go source code. | 
					
						
							|  |  |  | <br> | 
					
						
							|  |  |  | Besides compiling and running Go programs, the go command is also used to | 
					
						
							|  |  |  | invoke the other commands listed below. See the command docs for usage | 
					
						
							|  |  |  | details. | 
					
						
							|  |  |  | <br><br> | 
					
						
							|  |  |  | </td> | 
					
						
							|  |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							|  |  |  | <td><a href="/cmd/cgo/">cgo</a></td> | 
					
						
							|  |  |  | <td>    </td> | 
					
						
							|  |  |  | <td>Cgo enables the creation of Go packages that call C code.</td> | 
					
						
							|  |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							|  |  |  | <td><a href="/cmd/cov/">cov</a></td> | 
					
						
							|  |  |  | <td>    </td> | 
					
						
							|  |  |  | <td>Cov is a rudimentary code coverage tool.</td> | 
					
						
							|  |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							|  |  |  | <td><a href="/cmd/fix/">fix</a></td> | 
					
						
							|  |  |  | <td>    </td> | 
					
						
							|  |  |  | <td>Fix finds Go programs that use old features of the language and libraries | 
					
						
							|  |  |  | and rewrites them to use newer ones.</td> | 
					
						
							|  |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							| 
									
										
										
										
											2012-03-23 23:21:52 +08:00
										 |  |  | <td><a href="/cmd/go/">doc</a></td> | 
					
						
							| 
									
										
										
										
											2012-03-05 15:30:27 +11:00
										 |  |  | <td>    </td> | 
					
						
							| 
									
										
										
										
											2012-03-23 23:21:52 +08:00
										 |  |  | <td>Doc extracts and generates documentation for Go packages, it is also available as | 
					
						
							|  |  |  | an independent <a href="/cmd/godoc/">godoc</a> command with more general options.</td> | 
					
						
							| 
									
										
										
										
											2012-03-05 15:30:27 +11:00
										 |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							| 
									
										
										
										
											2012-03-23 23:21:52 +08:00
										 |  |  | <td><a href="/cmd/go/">fmt</a></td> | 
					
						
							| 
									
										
										
										
											2012-03-05 15:30:27 +11:00
										 |  |  | <td>    </td> | 
					
						
							| 
									
										
										
										
											2012-03-23 23:21:52 +08:00
										 |  |  | <td>Fmt formats Go packages, it is also available as an independent <a href="/cmd/gofmt/"> | 
					
						
							|  |  |  | gofmt</a> command with more general options.</td> | 
					
						
							| 
									
										
										
										
											2012-03-05 15:30:27 +11:00
										 |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							|  |  |  | <td><a href="/cmd/prof/">prof</a></td> | 
					
						
							|  |  |  | <td>    </td> | 
					
						
							|  |  |  | <td>Prof is a rudimentary real-time profiler.</td> | 
					
						
							|  |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							|  |  |  | <td><a href="/cmd/vet/">vet</a></td> | 
					
						
							|  |  |  | <td>    </td> | 
					
						
							| 
									
										
										
										
											2012-03-23 23:21:52 +08:00
										 |  |  | <td>Vet examines Go source code and reports suspicious constructs, such as Printf | 
					
						
							|  |  |  | calls whose arguments do not align with the format string.</td> | 
					
						
							| 
									
										
										
										
											2012-03-05 15:30:27 +11:00
										 |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <tr> | 
					
						
							|  |  |  | <td><a href="/cmd/yacc/">yacc</a></td> | 
					
						
							|  |  |  | <td>    </td> | 
					
						
							|  |  |  | <td>Yacc is a version of yacc for Go.</td> | 
					
						
							|  |  |  | </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </table> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <p> | 
					
						
							|  |  |  | This is an abridged list. See the <a href="/cmd/">full command reference</a> | 
					
						
							|  |  |  | for documentation of the compilers and more. | 
					
						
							|  |  |  | </p> |