15 lines
331 B
Go
15 lines
331 B
Go
package invalid6
|
|
|
|
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
|
|
|
type SomeStruct struct {
|
|
Field int
|
|
// RPC binding generator will convert this field into exported, which matches
|
|
// exactly the existing Field.
|
|
field int
|
|
}
|
|
|
|
func Main() {
|
|
runtime.Notify("SomeEvent", SomeStruct{Field: 123, field: 123})
|
|
}
|