Hey,
in terms if it's worth or not, it's a rather personal question. How much
you like Go and wanna work with it or do you just wanna add another skill
to enhance your employability.
I pretty much learnt Go reading the Effective Go
(https://go.dev/doc/effective_go). If you are an experienced s
You will need a barrier, the wait Group in your case, to guarantee the main
goroutine will only continue after all the others have finished their work.
Besides if any of your goroutines blocks due to IO the Go scheduler will
look for another goroutine to run while the blocked one waits.
Another
You could log to a file. If you're willing to take in a -log flag, you
could take a path as well and log to this file. That way you don't need 2
binaries, however you'd need to tail the file, which seems to me better
than 2 binaries.
Best,
Anderson
On Friday, April 29, 2022 at 2:47:06 PM UTC+