github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/cli/smartcontract/testdata/rpcbindings/invalid5/invalid.go (about)

     1  package invalid5
     2  
     3  import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
     4  
     5  type NamedStruct struct {
     6  	SomeInt int
     7  }
     8  
     9  func Main() NamedStruct {
    10  	runtime.Notify("SomeEvent", []interface{}{123})
    11  	return NamedStruct{SomeInt: 123}
    12  }