Hacker News new | ask | show | jobs
by Someone 2178 days ago
No, it isn’t possible. FTA:

“Unfortunately, it can't be ported completely due to lack of pattern matching in Go.

The only possible way was to use channels and select {}, but it would be too complicated and it would be just an imitation.”

I don’t understand how the solution using channels would work.