looklike DeepEqual works
This commit is contained in:
parent
df1c659416
commit
45c90bdbdf
4
main.go
4
main.go
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue