I have created a global variable in a package and stored value in that.
Now I have created another application and stored the vale and before printing the value I have called the sleep function for 10 sec and then printed it.
In the meanwhile, I have called the same application again in the other terminal removing the sleep and changing the value stored in the global.
But then I found that both print the values what I have send (differently) But as of my knowledge, global values should be affected when they are changed.
I don’t know whether my understanding is wrong or go works like that. Can anyone help me.