]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: improve package based on the suggestions from metalinter
authorKarel Pazdera <pazderak@gmail.com>
Wed, 23 Aug 2017 22:36:28 +0000 (00:36 +0200)
committerIan Lance Taylor <iant@golang.org>
Thu, 24 Aug 2017 00:55:59 +0000 (00:55 +0000)
commit6e9e9dfa46e032657af06aaea669e4d2264cb79e
tree968364302d390e72a92a37b87cf99dcf10c85d18
parent77b4beba2fd892a3f8e9da527fdad031f6ecc613
encoding/xml: improve package based on the suggestions from metalinter

Existing code in encoding/xml packages contains code which breaks
various linter rules (comments, constant and variable naming, variable
shadowing, etc).

Fixes #21578

Change-Id: Id4bd9a9be6d5728ce88fb6efe33030ef943c078c
Reviewed-on: https://go-review.googlesource.com/58210
Reviewed-by: Sam Whited <sam@samwhited.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Sam Whited <sam@samwhited.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/encoding/xml/atom_test.go
src/encoding/xml/marshal.go
src/encoding/xml/marshal_test.go
src/encoding/xml/read.go
src/encoding/xml/read_test.go
src/encoding/xml/typeinfo.go
src/encoding/xml/xml.go
src/encoding/xml/xml_test.go