mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 23:42:23 +00:00
b4c0fcfaad
It helps us to keep the index clean and ordered. When some new RPC binding test should be added, we don't need to search for a suitable place for it. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
12 lines
229 B
Go
12 lines
229 B
Go
package invalid5
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
|
|
|
type NamedStruct struct {
|
|
SomeInt int
|
|
}
|
|
|
|
func Main() NamedStruct {
|
|
runtime.Notify("SomeEvent", []interface{}{123})
|
|
return NamedStruct{SomeInt: 123}
|
|
}
|