Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 428 Bytes

File metadata and controls

21 lines (12 loc) · 428 Bytes

Go Reader That Removes Comments

Winner of the Most Useless Go Package prize for 2015.

What is it?

Simple wrap-around reader that removes "# to end of line" comments as it reads from the underlying reader.

Useful if you have a the dreaded JSON configuration file and you want to allow comments.

Licence

Do What You Like.

Feel free to copy paste this simple code into your project.

Efficiency

What efficiency?