This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
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 string. It's written in Go using Go's own string encoder and compiled with WASM. The code as well as a…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.