Space Cat, Prince Among Thieves

Posts Tagged “Golang”

Go’s New Iterators Smell a Little Funny, but They’re Still Good

Go's new Iterators were released on August 13th with Go 1.23. They're pretty useful.

They've had just a minute to marinate. In some parts of the community they've been an unpopular addition, however I don't particularly mind them. The old alternatives seem a little more "Go" to me, but the new ite…


Read More / Comment »

Text to "Go String" Tool

Go currently lacks any sort of heredoc or similar syntax, and it's backtick syntax cannot contain backticks. This can make correctly encoded creating go strings, particularly for large strings that contain many backticks, a bit of a challenge.

Here's a tool to safely encode any given input to Go st…


Read More / Comment »