▲ 7 ▼ Running gofmt in Browser with 10 Lines of Code
I saw a message in Gophers Slack #general chat that stood out to me:
gofmtin the browser is, um, hard
"Wait a minute, that's not hard," I thought. "It's trivial! Getting
gofmt to run in the browser? I bet I could do it in 10 lines of code!"