How do I find which struct field is different when comparing two structs using reflect.DeepEqual()
. When I print the struct values then I don't see any difference between the 2 struct values but still the reflect.DeepEqual()
method returns false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.