go: oops, debugging--
go: more defensive about nested copy tags
go: fix off-by-one in length check
go: fix other off-by-ones in length checks