LEFT | RIGHT |
1 <!--{ | 1 <!--{ |
2 "Title": "Go 1.1 Release Notes", | 2 "Title": "Go 1.1 Release Notes", |
3 "Path": "/doc/go1.1", | 3 "Path": "/doc/go1.1", |
4 "Template": true | 4 "Template": true |
5 }--> | 5 }--> |
6 | 6 |
7 <h2 id="introduction">Introduction to Go 1.1</h2> | 7 <h2 id="introduction">Introduction to Go 1.1</h2> |
8 | 8 |
9 <p> | 9 <p> |
10 The release of <a href="/doc/go1.html">Go version 1</a> (Go 1 or Go 1.0 for shor
t) | 10 The release of <a href="/doc/go1.html">Go version 1</a> (Go 1 or Go 1.0 for shor
t) |
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1016 and | 1016 and |
1017 <a href="/pkg/strings/#TrimSuffix"><code>TrimSuffix</code></a> | 1017 <a href="/pkg/strings/#TrimSuffix"><code>TrimSuffix</code></a> |
1018 with self-evident properties, and the new method | 1018 with self-evident properties, and the new method |
1019 <a href="/pkg/strings/#Reader.WriteTo"><code>Reader.WriteTo</code></a> so the | 1019 <a href="/pkg/strings/#Reader.WriteTo"><code>Reader.WriteTo</code></a> so the |
1020 <a href="/pkg/strings/#Reader"><code>Reader</code></a> | 1020 <a href="/pkg/strings/#Reader"><code>Reader</code></a> |
1021 type now implements the | 1021 type now implements the |
1022 <a href="/pkg/io/#WriterTo"><code>io.WriterTo</code></a> interface. | 1022 <a href="/pkg/io/#WriterTo"><code>io.WriterTo</code></a> interface. |
1023 </li> | 1023 </li> |
1024 | 1024 |
1025 <li> | 1025 <li> |
1026 The <a href="/pkg/syscall/"><code>syscall</code></a> package's <a href="/pkg/sys
call/#Fchflags"><code>Fchflags</code></a> function on various BSDs (including Da
rwin) has changed signature. | 1026 The <a href="/pkg/syscall/"><code>syscall</code></a> package's |
1027 It now takes an int as the first parameter, instead of a string. Since this API
change fixes a bug, it is permitted by the Go 1 compatibility rules. | 1027 <a href="/pkg/syscall/#Fchflags"><code>Fchflags</code></a> function on various B
SDs |
1028 </li> | 1028 (including Darwin) has changed signature. |
1029 <li> | 1029 It now takes an int as the first parameter instead of a string. |
1030 The <a href="/pkg/syscall/"><code>syscall</code></a> package also has received m
any updates to make it more inclusive of constants and system calls for each sup
ported operating system. | 1030 Since this API change fixes a bug, it is permitted by the Go 1 compatibility rul
es. |
| 1031 </li> |
| 1032 <li> |
| 1033 The <a href="/pkg/syscall/"><code>syscall</code></a> package also has received m
any updates |
| 1034 to make it more inclusive of constants and system calls for each supported opera
ting system. |
1031 </li> | 1035 </li> |
1032 | 1036 |
1033 <li> | 1037 <li> |
1034 The <a href="/pkg/testing/"><code>testing</code></a> package now automates the g
eneration of allocation | 1038 The <a href="/pkg/testing/"><code>testing</code></a> package now automates the g
eneration of allocation |
1035 statistics in tests and benchmarks using the new | 1039 statistics in tests and benchmarks using the new |
1036 <a href="/pkg/testing/#AllocsPerRun"><code>AllocsPerRun</code></a> function. And
the | 1040 <a href="/pkg/testing/#AllocsPerRun"><code>AllocsPerRun</code></a> function. And
the |
1037 <a href="/pkg/testing/#B.ReportAllocs"><code>ReportAllocs</code></a> | 1041 <a href="/pkg/testing/#B.ReportAllocs"><code>ReportAllocs</code></a> |
1038 method on <a href="/pkg/testing/#B"><code>testing.B</code></a> will enable print
ing of | 1042 method on <a href="/pkg/testing/#B"><code>testing.B</code></a> will enable print
ing of |
1039 memory allocation statistics for the calling benchmark. It also introduces the | 1043 memory allocation statistics for the calling benchmark. It also introduces the |
1040 <a href="/pkg/testing/#BenchmarkResult.AllocsPerOp"><code>AllocsPerOp</code></a>
method of | 1044 <a href="/pkg/testing/#BenchmarkResult.AllocsPerOp"><code>AllocsPerOp</code></a>
method of |
(...skipping 28 matching lines...) Expand all Loading... |
1069 <li> | 1073 <li> |
1070 The implementation of the <a href="/pkg/unicode/"><code>unicode</code></a> packa
ge has been updated to Unicode version 6.2.0. | 1074 The implementation of the <a href="/pkg/unicode/"><code>unicode</code></a> packa
ge has been updated to Unicode version 6.2.0. |
1071 </li> | 1075 </li> |
1072 | 1076 |
1073 <li> | 1077 <li> |
1074 In the <a href="/pkg/unicode/utf8/"><code>unicode/utf8</code></a> package, | 1078 In the <a href="/pkg/unicode/utf8/"><code>unicode/utf8</code></a> package, |
1075 the new function <a href="/pkg/unicode/utf8/#ValidRune"><code>ValidRune</code></
a> reports whether the rune is a valid Unicode code point. | 1079 the new function <a href="/pkg/unicode/utf8/#ValidRune"><code>ValidRune</code></
a> reports whether the rune is a valid Unicode code point. |
1076 To be valid, a rune must be in range and not be a surrogate half. | 1080 To be valid, a rune must be in range and not be a surrogate half. |
1077 </li> | 1081 </li> |
1078 </ul> | 1082 </ul> |
LEFT | RIGHT |