]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: move Unmarshal example to function
authorGustavo Niemeyer <gustavo@niemeyer.net>
Thu, 23 Feb 2012 01:37:57 +0000 (23:37 -0200)
committerGustavo Niemeyer <gustavo@niemeyer.net>
Thu, 23 Feb 2012 01:37:57 +0000 (23:37 -0200)
commit133c6bf77fffcbfa38ed58cf06808b38bbc374e0
tree8724037fc287cc53ad28278187770f7c13767f70
parentfea7f07e560b3a8dcc16c89f683eb907762fad6f
encoding/xml: move Unmarshal example to function

This also fixes MarshalIndent's example after the
recent formatting convention changes.

Fixes #2831.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5671062
src/pkg/encoding/xml/example_test.go
src/pkg/encoding/xml/read.go