It seem if a field with boolean value setted to "true", some how gob Decode cannot change it to false. Example: https://play.golang.org/p/5eCp_0d1UC4
(original question are here https://stackoverflow.com/questions/56230143/why-decode-two-different-objects-into-a-same-object-but-the-bool-member-has-not ) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/a907d07e-ccf6-4b72-a29c-f743f2d8bb32%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.