]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: bring API closer to other packages
authorGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 24 Jan 2012 03:10:32 +0000 (01:10 -0200)
committerGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 24 Jan 2012 03:10:32 +0000 (01:10 -0200)
commit0442087f93d49dec95cd327efbc8c760484ac8bb
tree4cd83269db3ed504f0b598efbcdaed4a6d884a3f
parent6d7e9382b49cbb0969f352af10def6c84740a0d3
encoding/xml: bring API closer to other packages

Includes gofix module. The only case not covered should be
xml.Unmarshal, since it remains with a similar interface, and
would require introspecting the type of its first argument
better.

Fixes #2626.

R=golang-dev, rsc, gustavo
CC=golang-dev
https://golang.org/cl/5574053
misc/dashboard/builder/main.go
src/cmd/godoc/codewalk.go
src/cmd/gofix/Makefile
src/cmd/gofix/xmlapi.go [new file with mode: 0644]
src/cmd/gofix/xmlapi_test.go [new file with mode: 0644]
src/pkg/encoding/xml/marshal.go
src/pkg/encoding/xml/marshal_test.go
src/pkg/encoding/xml/read.go
src/pkg/encoding/xml/read_test.go
src/pkg/encoding/xml/xml.go
src/pkg/encoding/xml/xml_test.go