|
|
|
|
|
by konart
1426 days ago
|
|
Well, that's because you do not work with go much I guess? I can say the same about Fennel, List or Haskell. The first example is the way to go in Go. It's idiomatic, not a hack. And it works the same way for many things (for example checking if a channel's closed) |
|