Re: [go-nuts] Initializing a channel as "Closed" so that it doesn't block if a "Thing" hasn't been done yet

2016-07-13 Thread Harmen B
I don't understand the problems 100%, but maybe these things can point you in the right direction: - try to see if using a sync.WaitGroup{} can help you. WaitGroups are great to use when you need to keep track of a varying bunch of Go routines. - you can send channels over channels, to wait for th

Re: [go-nuts] caching of cgo compilation

2016-06-16 Thread Harmen B
Or build with `go build -i` On Thu, Jun 16, 2016 at 1:52 AM, Hugh Emberson wrote: > He might be running go test which also seems to rebuild everything every > time unless it has been installed. > > go test -i installs all the dependencies for a test and fixes this problem. > > > On Wed, Jun 15,