mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-01 23:45:50 +00:00
44dfe8342d
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
12 lines
229 B
Go
12 lines
229 B
Go
package invalid9
|
|
|
|
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}
|
|
}
|