neoneo-go/pkg/compiler/testdata/notify/event.go

16 lines
241 B
Go
Raw Normal View History

package notify
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
// Value is the constant we use.
const Value = 42
// EmitEvent emits some event.
func EmitEvent() {
emitPrivate()
}
func emitPrivate() {
runtime.Notify("Event")
}