I have a parallel procedure like this,
Routine 1()
{
for 30 times
Send string
}
Routine 2 (out <-chan string)
{
for
case str := <- out:
fmt.Println(str)
}
Now I want to send from ordinary line 1, for example, string + int + string + system time in nanoseconds. Can anyone help me how can I achieve this.
source
share