vars in Go packages

Variables in Go packages. If you’re coming from C++ or PHP you might know the static keyword. static int myintvar And since Go’s package structure is pretty weird, I wanted to see how vars behave in packages. Are they static or are they different depending on who its parent is? The result is, since… Continue reading vars in Go packages

Categorized as Allgemein