1. Antipattern. 2. Did it inside, I hope. 3. strings.Cut, where is the doc for this? How can this not be Googled? Anyway, easily solved in many ways.
1. Care to elaborate?
2. What does this even mean?
3. It’s in the pending release notes with all the other new features and further information in the post you’re commenting on. https://tip.golang.org/doc/go1.18
Try to be more constructive if you want a conversation please.
Any chance of a reason?