LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 package main | 5 package main |
6 | 6 |
7 var helpC = &Command{ | 7 var helpC = &Command{ |
8 UsageLine: "c", | 8 UsageLine: "c", |
9 Short: "calling between Go and C", | 9 Short: "calling between Go and C", |
10 Long: ` | 10 Long: ` |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 unique prefix that belongs to you. For example, paths used | 74 unique prefix that belongs to you. For example, paths used |
75 internally at Google all begin with 'google', and paths | 75 internally at Google all begin with 'google', and paths |
76 denoting remote repositories begin with the path to the code, | 76 denoting remote repositories begin with the path to the code, |
77 such as 'code.google.com/p/project'. | 77 such as 'code.google.com/p/project'. |
78 | 78 |
79 As a special case, if the package list is a list of .go files from a | 79 As a special case, if the package list is a list of .go files from a |
80 single directory, the command is applied to a single synthesized | 80 single directory, the command is applied to a single synthesized |
81 package made up of exactly those files, ignoring any build constraints | 81 package made up of exactly those files, ignoring any build constraints |
82 in those files and ignoring any other files in the directory. | 82 in those files and ignoring any other files in the directory. |
83 | 83 |
84 File names that begin with "." or "_" are ignored by the go tool. | 84 Directory and file names that begin with "." or "_" are ignored |
| 85 by the go tool, as are directories named "testdata". |
85 `, | 86 `, |
86 } | 87 } |
87 | 88 |
88 var helpImportPath = &Command{ | 89 var helpImportPath = &Command{ |
89 UsageLine: "importpath", | 90 UsageLine: "importpath", |
90 Short: "import path syntax", | 91 Short: "import path syntax", |
91 Long: ` | 92 Long: ` |
92 | 93 |
93 An import path (see 'go help packages') denotes a package | 94 An import path (see 'go help packages') denotes a package |
94 stored in the local file system. In general, an import path denotes | 95 stored in the local file system. In general, an import path denotes |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 SWIG definition files. | 334 SWIG definition files. |
334 .syso | 335 .syso |
335 System object files. | 336 System object files. |
336 | 337 |
337 Files of each of these types except .syso may contain build | 338 Files of each of these types except .syso may contain build |
338 constraints, but the go command stops scanning for build constraints | 339 constraints, but the go command stops scanning for build constraints |
339 at the first item in the file that is not a blank line or //-style | 340 at the first item in the file that is not a blank line or //-style |
340 line comment. | 341 line comment. |
341 `, | 342 `, |
342 } | 343 } |
LEFT | RIGHT |