strinterp - "String/Stream Interpolation"
Morally correct string/stream interpolation.
go get github.com/thejerf/strinterp
This code is posted in support of a blog post about why we continue to
write insecure software, which I
recommend reading in order to understand the design and the purpose of the
design. At the moment, I wouldn't particularly propose that you use it in
real code; I don't. After all this represents ~20 hours of screwing around
rather than something I'd ship directly. However, it does do what it does,
so if you are moved to use it, I won't object. As the LICENSE says, if it
breaks you get to keep both pieces. If enough pull requests come in to turn
this into a real library I won't complain.
But even as just some musings meant for support of a blog post, I could not
stand publishing this without the jerf-standard full
godoc, including examples,
usage, and everything else you might otherwise expect this README.md to
cover on GitHub, plus full test coverage and golint-cleanliness.
Commit Signing
Starting with the commit after d46cc8a8c2a22, I will be signing this repository
with the "jerf" keybase account. If you are viewing
this repository through GitHub, you should see the commits as showing as
"verified" in the commit view.
(Bear in mind that due to the nature of how git commit signing works, there
may be runs of unverified commits; what matters is that the top one is signed.)