I use golang to receive mtr info and after some work send it to os.stdout
However the output is in unordered.
the code below
scanner := bufio.NewScanner(os.Stdin)
for scanner.Scan() {
input := scanner.Text()
fmt.Println(input)
}
The right order looks like this
image description here
And this is the output from the code above:
image description here