fix(client/snowflake.go): prevent wg.Add data race
In VSCode, the staticcheck tool emits this warning:
should call wg.Add(1) before starting the goroutine to avoid a race (SA2000)go-staticcheck
To avoid this warning, just move wg.Add outside.
Edited by sbs