Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(555)

Issue 5674050: code review 5674050: encoding/xml: add MarshalIndent and move the example (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by niemeyer
Modified:
13 years, 3 months ago
Reviewers:
CC:
golang-dev, r, gustavo_niemeyer.net, r2, rsc
Visibility:
Public.

Description

encoding/xml: add MarshalIndent and move the example An unindented XML example is hard to follow. MarshalIndent allows moving the example over to a test file (and fixing it).

Patch Set 1 #

Patch Set 2 : code review 5674050: encoding/xml: add MarshalIndent and move the example #

Patch Set 3 : diff -r 07abe73c41ce https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 07abe73c41ce https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 07abe73c41ce https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 07abe73c41ce https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 64ae2e0b9b9f https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -29 lines) Patch
A src/pkg/encoding/xml/example_test.go View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
M src/pkg/encoding/xml/marshal.go View 1 2 9 chunks +58 lines, -29 lines 0 comments Download

Messages

Total messages: 7
niemeyer
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 3 months ago (2012-02-15 04:58:53 UTC) #1
niemeyer
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2012-02-15 05:02:14 UTC) #2
r
why did it go away? there was a reason. changeset: 8893:85fe786bbd63 user: Kyle Lemons <kyle@kylelemons.net> ...
13 years, 3 months ago (2012-02-15 05:07:34 UTC) #3
gustavo_niemeyer.net
On Wed, Feb 15, 2012 at 03:07, <r@golang.org> wrote: > why did it go away? ...
13 years, 3 months ago (2012-02-15 05:40:22 UTC) #4
r2
ok, no objections from me, but i defer XML package reviews to people who use ...
13 years, 3 months ago (2012-02-15 07:14:04 UTC) #5
rsc
LGTM
13 years, 3 months ago (2012-02-15 14:04:02 UTC) #6
niemeyer
13 years, 3 months ago (2012-02-16 04:01:55 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=e5c8997145d9 ***

encoding/xml: add MarshalIndent and move the example

An unindented XML example is hard to follow. MarshalIndent
allows moving the example over to a test file (and fixing it).

R=golang-dev, r, gustavo, r, rsc
CC=golang-dev
http://codereview.appspot.com/5674050
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b