Shopify / ejson

EJSON is a small library to manage encrypted secrets using asymmetric encryption.
MIT License
1.35k stars 62 forks source link

Preserve whitespace, including trailing newline. #28

Closed clayton-shopify closed 8 years ago

clayton-shopify commented 8 years ago

For review @burke @Roxot

ejson makes some irritating changes to whitespace. This PR is an attempt to preserve all whitespace from the input file. It's the first Go I've written, so I doubt I've done this in the most elegant way.

Fixes https://github.com/Shopify/ejson/issues/16