there are a few that would be best coded with pointer receivers. I would
like to bring these structs together into an interface who's qualifications
contain both nonpointer and pointer methods. However, so far as I know,
that isn't possible in practice, is it? After all, an Object and a *Object
are not the same type.
My question is this: What is considered the best way to get around my
conundrum? Should I just make all my methods have pointer receivers, even
if it's not necessary, or is there a better solution? Any advice is
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 email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.