mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 13:58:05 +00:00
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
|
|
}
|