--- a/examples/interact.go Fri Dec 28 17:56:13 2012 -0700
+++ b/examples/interact.go Tue Mar 26 10:54:44 2013 -0600
@@ -59,7 +59,7 @@
}
roster := xmpp.Roster(c)
fmt.Printf("%d roster entries:\n", len(roster))
- for i, entry := range(roster) {
+ for i, entry := range roster {
fmt.Printf("%d: %v\n", i, entry)
}
@@ -85,7 +85,7 @@
}
var se *xml.StartElement
var ok bool
- if se, ok = t.(*xml.StartElement) ; !ok {
+ if se, ok = t.(*xml.StartElement); !ok {
fmt.Println("Couldn't find start element")
break
}