]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: document HTMLAutoClose and HTMLEntity more
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 Aug 2018 20:42:00 +0000 (20:42 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 Aug 2018 20:47:47 +0000 (20:47 +0000)
commit2069543bf11fe0432f51231c8a2cd1d4629f5a05
tree0b03952be3e29c2bec1148a7251595a9dccf02e0
parent2f46dfb271414581b048ee54f728c55dbdd85bf0
encoding/xml: document HTMLAutoClose and HTMLEntity more

They didn't even have public types, which made them pretty mysterious.

Give them types and reference the Decoder, which uses them.

Also, refer them qualified by their package name in the examples, as
we usually do in example*.go files, which usually use package foo_test
specifically so we can show the package names along with the symbols.

Change-Id: I50ebbbf43778c1627bfa526f8824f52c7953454f
Reviewed-on: https://go-review.googlesource.com/127663
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/encoding/xml/xml.go