mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
parent
1d5af1553c
commit
baa65fd106
2 changed files with 28 additions and 1 deletions
1
.hgtags
1
.hgtags
|
@ -12,4 +12,3 @@ a6fcf4303b0a92cce4011556b1c96044252d93af release.2009-12-22
|
|||
db4262ce882d8445764312d41547ee8f11a7f7a9 release.2010-02-04
|
||||
53fec18b83e2b93baafba4733b59bb86b8c1988e release.2010-02-17
|
||||
4a0661b86e50eae734dbe43ed1312c4a0304676b release.2010-02-23
|
||||
4a0661b86e50eae734dbe43ed1312c4a0304676b release
|
||||
|
|
|
@ -5,6 +5,34 @@
|
|||
<p>This page summarizes the changes between tagged releases of Go.
|
||||
For full details, see the <a href="http://code.google.com/p/go/source/list">Mercurial change log</a>.</p>
|
||||
|
||||
<h3 id="2010-03-04">2010-03-04</h3>
|
||||
|
||||
<pre>
|
||||
There is one language change: the ability to convert a string to []byte or
|
||||
[]int. This deprecates the strings.Bytes and strings.Runes functions.
|
||||
You can convert your existing sources using these gofmt commands:
|
||||
gofmt -r 'strings.Bytes(x) -> []byte(x)' -w file-or-directory-list
|
||||
gofmt -r 'strings.Runes(x) -> []int(x)' -w file-or-directory-list
|
||||
After running these you might need to delete unused imports of the "strings"
|
||||
package.
|
||||
|
||||
Other changes and fixes:
|
||||
* 6l/8l/5l: add -r option
|
||||
* 8g: make a[byte(x)] truncate x
|
||||
* codereview.py: fix for compatibility with hg >=1.4.3
|
||||
* crypto/blowfish: new package (thanks Raif S. Naffah)
|
||||
* dashboard: more performance tuning
|
||||
* fmt: use String method in %q to get the value to quote.
|
||||
* gofmt: several cosmetic changes
|
||||
* http: fix handling of Connection: close, bug in http.Post
|
||||
* net: correct DNS configuration,
|
||||
fix network timeout boundary condition,
|
||||
put [ ] around IPv6 addresses for Dial.
|
||||
* path: add Match,
|
||||
fix bug in Match with non-greedy stars (thanks Kevin Ballard)
|
||||
* strings: delete Bytes, Runes (see above)
|
||||
* tests: an Eratosthenesque concurrent prime sieve (thanks Anh Hai Trinh)
|
||||
</pre>
|
||||
|
||||
<h3 id="2010-02-23">2010-02-23</h3>
|
||||
|
||||
|
|
Loading…
Reference in a new issue