Concurrency != Parallel execution
You can use a global variable and it will be fine because it won't be accessed simultaneously.
So then how is this not cargo culting Go? imitating the observable parts of Go without truly understanding what it does?
Anyhow, do what you will. I don't get the impression that you are genuinely interested in this topic.