betterwaytodoit
betterwaytodoit on Hacker News
Re:Go is Not Python
on Thursday June 22, 2017 @06:36PM (#14615842)
Here's a more idiomatic translation of the Python code to Go, and there's no surprise to how the code behaves: