LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 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 imports | 5 package imports |
6 | 6 |
7 import "io" | 7 import "io" |
8 | 8 |
9 import ( | 9 import ( |
10 _ "io" | 10 _ "io" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 "io" | 76 "io" |
77 "malloc" // for the malloc count test only | 77 "malloc" // for the malloc count test only |
78 "math" | 78 "math" |
79 "strings" | 79 "strings" |
80 "testing" | 80 "testing" |
81 ) | 81 ) |
82 | 82 |
83 // more import examples | 83 // more import examples |
84 import ( | 84 import ( |
85 "xxx" | 85 "xxx" |
86 » "much longer name"» // comment | 86 » "much_longer_name"» // comment |
87 » "short name"» » // comment | 87 » "short_name"» » // comment |
88 ) | 88 ) |
89 | 89 |
90 import ( | 90 import ( |
91 _ "xxx" | 91 _ "xxx" |
92 » "much longer name"» // comment | 92 » "much_longer_name"» // comment |
93 ) | 93 ) |
94 | 94 |
95 import ( | 95 import ( |
96 mymath "math" | 96 mymath "math" |
97 "/foo/bar/long_package_path" // a comment | 97 "/foo/bar/long_package_path" // a comment |
98 ) | 98 ) |
99 | 99 |
100 import ( | 100 import ( |
101 "package_a" // comment | 101 "package_a" // comment |
102 "package_b" | 102 "package_b" |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 w float, | 840 w float, |
841 x ...int) | 841 x ...int) |
842 | 842 |
843 MultiLineSignature5( | 843 MultiLineSignature5( |
844 a, b, c int, | 844 a, b, c int, |
845 u, v, w float, | 845 u, v, w float, |
846 p, q, | 846 p, q, |
847 r string, | 847 r string, |
848 x ...int) | 848 x ...int) |
849 } | 849 } |
LEFT | RIGHT |