forked from TrueCloudLab/neoneo-go
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}
|
|
}
|