Thus you need to push the actual value to buf_1 and buf_2 back to the global vars.
If you do this from different goroutines, then some guard is needed for global var update.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.