From 4d2766e9944e2524ece4a1c0e30dd777227aa174 Mon Sep 17 00:00:00 2001
From: Andrew Gerrand
+The r59 release corresponds to
+
+This release includes a language change that restricts the use of
+
+As usual, gofix will handle the bulk of the rewrites
+necessary for these changes to package APIs.
+
+Package http has a new
+FileSystem interface that provides access
+to files. The FileServer helper now takes a
+
+Package os's
+Package reflect supports a new struct tag scheme
+that enables sharing of struct tags between multiple packages.
+In this scheme, the tags must be of the form:
+
+The StructField type's Tag field now
+has type StructTag, which has a
+
+should become
+
+Use govet to identify struct tags that need to be
+changed to use the new syntax.
+
+Package sort's
+Package strings's r59 (released 2011/08/01)
+
+weekly.2011-07-07
.
+This section highlights the most significant changes in this release.
+For a more detailed summary, see the
+weekly release notes.
+For complete information, see the
+Mercurial change list.
+Language
+
+goto
. In essence, a goto
statement outside a block
+cannot jump to a label inside that block. Your code may require changes if it
+uses goto
.
+See this
+changeset for how the new rule affected the Go tree.
+Packages
+
+FileSystem
argument instead of an explicit file system root. By
+implementing your own FileSystem
you can use the
+FileServer
to serve arbitrary data.
+ErrorString
type has been
+hidden. Most uses of os.ErrorString
can be replaced with
+os.NewError.
+
+ `key:"value" key2:"value2"`
+
+Get
method. Clients of json and
+xml will need to be updated. Code that says
+
+ type T struct {
+ X int "name"
+ }
+
+
+ type T struct {
+ X int `json:"name"` // or `xml:"name"`
+ }
+
+IntArray
type has been
+renamed to IntSlice, and similarly for
+Float64Slice and
+StringSlice.
+Split
function has
+itself been split into Split and
+SplitN.
+SplitN
is the same as the old Split
.
+The new Split
is equivalent to SplitN
with a final
+argument of -1.
+
+Goinstall now installs packages and commands from +arbitrary remote repositories (not just Google Code, Github, and so on). +See the goinstall documentation for details. +
+diff --git a/doc/devel/weekly.html b/doc/devel/weekly.html index 3ee0247b186..bbb52b06ba3 100644 --- a/doc/devel/weekly.html +++ b/doc/devel/weekly.html @@ -179,7 +179,7 @@ Other changes: parse and encode SCM_RIGHTS and SCM_CREDENTIALS (thanks Albert Strasheim). -
This weekly snapshot includes changes to the strings, http, reflect, json, and