go: initialise the wait group using var