package main import ( "fmt" "xAAL/xaal" ) func showMessage(msg *xaal.Message) { if msg.IsAlive() == false { msg.Dump() fmt.Println() } } func main() { eng := xaal.NewEngine() eng.Start() eng.Subscribe(showMessage) eng.Run() }