Go, also called golang, is an open source programming language initially developed at Google. It is a statically-typed language with syntax loosely derived from that of C, adding automatic memory management, type safety, some dynamic-typing capabilities, additional built-in types such as ...

learn more… | top users | synonyms

3
votes
0answers
58 views

Go - idioms/design for determining when an unknown number of goroutines are complete

I have a workflow wherein I walk recursively through a bunch of directories, then for each file perform some action. I'm using goroutines to walk each directory, and also to process each file. The ...
-1
votes
0answers
29 views

Are methods on non-pointer types subject to optimization

I've been enjoying go for the last couple of weeks. I suspect that, having some background in C, the fact that Go has pointers triggers my being concerned with optimization. Probably overly so. When I ...
-1
votes
0answers
69 views

Why does gofmt discourage blank lines at the end of files?

Since I started programming, I've always been taught to leave a trailing blank line at the end of my files, the reason usually being something relating to how it makes concatenated files easier to ...