Yes, order should be preserved
A reproducible code snippet would be much more helpful in identifying the issue
here
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
Hi all
Unsure whether I'm just a bit rusty coming back to go after a little while.
I've got a 2d slice of structs that is equivalent to the lines in a file.
tokens := []doc.Word{}
// type [][]doc.Word
lines := doc.TextLines(tokens)
At this stage, the order of lines is {0, 1, 2 ..., n}.
I ha