diff --git a/doc/go1.html b/doc/go1.html index 95953dc79b8..4191c4ba25d 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -929,6 +929,61 @@ to be implemented in the future. No changes will be needed.
+
+In Go 1, the binary.TotalSize
function is no longer exported.
+
+Updating: +Code that depends on the function will need to be updated. +
+ +
+In Go 1, the xml
package
+has been brought closer in design to the other marshaling packages such
+as encoding/gob
.
+
+The old Parser
type is renamed
+Decoder
and has a new
+Decode
method. An
+Encoder
type was also
+introduced.
+
+The functions Marshal
+and Unmarshal
+work with []byte
values now. To work with streams,
+use the new Encoder
+and Decoder
types.
+
+When marshaling or unmarshaling values, the format of supported flags in
+field tags has changed to be closer to the
+json
package
+(`xml:"name,flag"`
). The matching done between field tags, field
+names, and the XML attribute and element names is now case-sensitive.
+The XMLName
field tag, if present, must also match the name
+of the XML element being marshaled.
+
+Updating:
+Running go fix
will update most uses of the package except for some calls to
+Unmarshal
. Special care must be taken with field tags,
+since the fix tool will not update them and if not fixed by hand they will
+misbehave silently in some cases. For example, the old
+"attr"
is now written ",attr"
while plain
+"attr"
remains valid but with a different meaning.
+
@@ -1575,50 +1630,6 @@ Code that uses the old fields will fail to compile and must be updated by hand. The semantic changes make it difficult for the fix tool to update automatically.
-
-In Go 1, the xml
package
-has been brought closer in design to the other marshaling packages such
-as encoding/gob
.
-
-The old Parser
type is renamed
-Decoder
and has a new
-Decode
method. An
-Encoder
type was also
-introduced.
-
-The functions Marshal
-and Unmarshal
-work with []byte
values now. To work with streams,
-use the new Encoder
-and Decoder
types.
-
-When marshaling or unmarshaling values, the format of supported flags in
-field tags has changed to be closer to the
-json
package
-(`xml:"name,flag"`
). The matching done between field tags, field
-names, and the XML attribute and element names is now case-sensitive.
-The XMLName
field tag, if present, must also match the name
-of the XML element being marshaled.
-
-Updating:
-Running go fix
will update most uses of the package except for some calls to
-Unmarshal
. Special care must be taken with field tags,
-since the fix tool will not update them and if not fixed by hand they will
-misbehave silently in some cases. For example, the old
-"attr"
is now written ",attr"
while plain
-"attr"
remains valid but with a different meaning.
-
+In Go 1, the binary.TotalSize
function is no longer exported.
+
+Updating: +Code that depends on the function will need to be updated. +
+ +
+In Go 1, the xml
package
+has been brought closer in design to the other marshaling packages such
+as encoding/gob
.
+
+The old Parser
type is renamed
+Decoder
and has a new
+Decode
method. An
+Encoder
type was also
+introduced.
+
+The functions Marshal
+and Unmarshal
+work with []byte
values now. To work with streams,
+use the new Encoder
+and Decoder
types.
+
+When marshaling or unmarshaling values, the format of supported flags in
+field tags has changed to be closer to the
+json
package
+(`xml:"name,flag"`
). The matching done between field tags, field
+names, and the XML attribute and element names is now case-sensitive.
+The XMLName
field tag, if present, must also match the name
+of the XML element being marshaled.
+
+Updating:
+Running go fix
will update most uses of the package except for some calls to
+Unmarshal
. Special care must be taken with field tags,
+since the fix tool will not update them and if not fixed by hand they will
+misbehave silently in some cases. For example, the old
+"attr"
is now written ",attr"
while plain
+"attr"
remains valid but with a different meaning.
+
@@ -1465,50 +1520,6 @@ Code that uses the old fields will fail to compile and must be updated by hand. The semantic changes make it difficult for the fix tool to update automatically.
-
-In Go 1, the xml
package
-has been brought closer in design to the other marshaling packages such
-as encoding/gob
.
-
-The old Parser
type is renamed
-Decoder
and has a new
-Decode
method. An
-Encoder
type was also
-introduced.
-
-The functions Marshal
-and Unmarshal
-work with []byte
values now. To work with streams,
-use the new Encoder
-and Decoder
types.
-
-When marshaling or unmarshaling values, the format of supported flags in
-field tags has changed to be closer to the
-json
package
-(`xml:"name,flag"`
). The matching done between field tags, field
-names, and the XML attribute and element names is now case-sensitive.
-The XMLName
field tag, if present, must also match the name
-of the XML element being marshaled.
-
-Updating:
-Running go fix
will update most uses of the package except for some calls to
-Unmarshal
. Special care must be taken with field tags,
-since the fix tool will not update them and if not fixed by hand they will
-misbehave silently in some cases. For example, the old
-"attr"
is now written ",attr"
while plain
-"attr"
remains valid but with a different meaning.
-