looklike DeepEqual works

This commit is contained in:
Martin Geno 2016-02-25 22:25:30 +01:00
parent df1c659416
commit 45c90bdbdf
1 changed files with 0 additions and 4 deletions

View File

@ -66,11 +66,7 @@ func main() {
field := elem.FieldByName(strings.Title(coll.CollectType)) field := elem.FieldByName(strings.Title(coll.CollectType))
if !reflect.DeepEqual(field, result) { 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) wsserverForNodes.SendAll(node)
log.Print("End")
} }
field.Set(reflect.ValueOf(result)) field.Set(reflect.ValueOf(result))