Thank you both for your responses.
I’m going to switch to returning structs that implement an unexported
interface. I don’t have a super convincing justification, but here are the
reasons…
1: It’s unexported because it’s not expected to be implemented externally
and passed in. But if a calle
ring to an
interface instead?
I’m starting to think I should, but I can’t think of what difference it
would make.
Any feedback would be appreciated.
Adam Pritchard
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from