439d9ff94d
`init()` functions should be called during package initialization, after global variables were processed.
7 lines
48 B
Go
7 lines
48 B
Go
package pkg3
|
|
|
|
var A int
|
|
|
|
func init() {
|
|
A = 3
|
|
}
|