kennygrant / sanitize

Package sanitize provides functions for sanitizing text in golang strings.
BSD 3-Clause "New" or "Revised" License
334 stars 72 forks source link

Refactoring #12

Closed buddhamagnet closed 8 years ago

buddhamagnet commented 8 years ago

Love this package, we're using it at The Economist. These changes simply made it more idiomatic and easy to read for us!

kennygrant commented 8 years ago

Sorry for the delay in responding on this. Thanks for using the package. I'd rather pull requests came in as issues first, so that we can discuss them. Also better to make the changes strictly separated so that you only add one type of change to a pull request. I'll probably merge a few of these in when doing other changes though, thanks for submitting them.