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

     1  package invalid7
     2  
     3  import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
     4  
     5  type SomeStruct struct {
     6  	Field int
     7  	// RPC binding generator will convert this field into exported, which matches
     8  	// exactly the existing Field.
     9  	field int
    10  }
    11  
    12  func Main() {
    13  	runtime.Notify("SomeEvent", SomeStruct{Field: 123, field: 123})
    14  }