On Fri, May 3, 2019, 17:28 <lgod...@gmail.com> wrote:

> Does Go GC  destroy all global vars prior to the end of main() ?
>

What do you mean by "destroy"? Go is not an object oriented language and
doesn't have the concept of a destructor. So no, it doesn't, but it also
doesn't need to.

May I ask, what led you to ask this question?

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to