mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-29 09:27:36 +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
|
|
}
|