]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: add (*Encoder).Indent
authorRuss Cox <rsc@golang.org>
Wed, 30 Jan 2013 15:57:20 +0000 (07:57 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 30 Jan 2013 15:57:20 +0000 (07:57 -0800)
commitee908748265debed97592f63a40f41a17e9c9d2a
tree31a35d4f0d114ca8d59b70cc2393721c16db01bd
parent607317651206f32ee11bf97ec0fe8c473bba403d
encoding/xml: add (*Encoder).Indent

Exposing this on the Encoder allows streaming generation of indented XML.

R=golang-dev, rogpeppe
CC=golang-dev
https://golang.org/cl/7221075
src/pkg/encoding/xml/example_test.go
src/pkg/encoding/xml/marshal.go