mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 13:38:35 +00:00
15 lines
318 B
Go
15 lines
318 B
Go
|
package invalid6
|
||
|
|
||
|
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
||
|
|
||
|
type SomeStruct struct {
|
||
|
Field int
|
||
|
// RPC binding generator will convert this field into exported, which matches
|
||
|
// exactly the existing Field.
|
||
|
field int
|
||
|
}
|
||
|
|
||
|
func Main() {
|
||
|
runtime.Notify("SomeEvent", SomeStruct{Field: 123, field: 123})
|
||
|
}
|