changeset 113 | bee6cc131798 |
parent 110 | 7696e6a01709 |
child 116 | 5c6d6d51d3ba |
--- a/examples/interact.go Sun Dec 16 22:37:57 2012 -0700 +++ b/examples/interact.go Sun Dec 16 23:06:54 2012 -0700 @@ -63,7 +63,7 @@ fmt.Printf("%d: %v\n", i, entry) } - go func(ch <-chan interface{}) { + go func(ch <-chan xmpp.Stanza) { for obj := range ch { fmt.Printf("s: %v\n", obj) } @@ -89,7 +89,7 @@ fmt.Println("Couldn't find start element") break } - var stan interface{} + var stan xmpp.Stanza switch se.Name.Local { case "iq": stan = &xmpp.Iq{}