Does the Go garbage collector have any trouble with circular references? For
example, if a struct has a function field containing a closure that refers back
to that struct, will the struct be garbage collected if it's not otherwise
I imagine the answer is "duh, of course it will be collected", but I want to
check to be sure. Both for the current version of Go and any planned future GC
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/d/optout.