FAQ
Let's pass a string instead of a flag or exported enum. The string can
be "attr", "chardata", etc.

What I meant about the outer element is we have to define whether the
marshaler is in control of the name of the element it fills in. Is it in
charge of writing the outer <name> and </name> or not? Probably not,
although that limits what can be done to some extent. You can't simulate
a slice, for example.



https://codereview.appspot.com/6858067/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 17, '12 at 4:22p
activeDec 17, '12 at 4:22p
posts1
users1
websitegolang.org

1 user in discussion

Rsc: 1 post

People

Translate

site design / logo © 2021 Grokbase