I am searching a way to execute asynchronously two functions in go which returns different results and errors, wait for them to finish and print both results. Also if one of
I think here sync.WaitGroup can be used. It can waits for different and dynamic number of goroutines.