educative.io

Educative

Run issue of Exercise: Multiplication Table

I am writing about Exercise: Multiplication Table task of Mastering concurrency in Go. Why is result of run succeeded?

Hi @Roman7

As mentioned in the lesson, “the code will execute but will not produce any output” as the main routine exits before the goroutines are able to print.
So when the “Run” button is being clicked, code is compiled and executed, the main routine exits before the goroutines are able to print, and the “Succeeded” message popup.

Hm. I don’t see output so How I can to be sure that result is Succeeded? I need to see output or Succeeded screen should be deependent on my code.