for some of our sensitive structures that are tricky and have multiple fields of the same type, there is a trick you can use:
type bar struct { A int _ bool } see https://play.golang.org/p/rFKGoKq-S9 -- 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. For more options, visit https://groups.google.com/d/optout.