xmlencoderclose: linter that checks xml.Encoder is closed#3895
xmlencoderclose: linter that checks xml.Encoder is closed#3895adamdecaf wants to merge 1 commit intogolangci:masterfrom
Conversation
|
Hey, thank you for opening your first Pull Request ! |
|
|
|
In order for a pull request adding a linter to be reviewed, the linter and the PR must follow some requirements.
Pull Request Description
Linter
The Linter Tests Inside Golangci-lint
|
2902af1 to
3207eb2
Compare
xmlencodercloseis a linter which checks to make sure thatxml.Encoderinstances are closed. Without closing an Encoder it may not flush all data. Closing encoders also verifies the XML has balanced start/end tags.We've identified a need for this linter at Moov and it has found several bugs.