looklike DeepEqual works

This commit is contained in:
Martin Geno 2016-02-25 22:25:30 +01:00
parent df1c659416
commit 45c90bdbdf

View File

@ -66,11 +66,7 @@ func main() {
field := elem.FieldByName(strings.Title(coll.CollectType))
if !reflect.DeepEqual(field, result) {
log.Printf("Start sendAll after recieve %s", coll.CollectType)
log.Printf("Field: %V", field)
log.Printf("Result: %V", result)
wsserverForNodes.SendAll(node)
log.Print("End")
}
field.Set(reflect.ValueOf(result))