include unit tests in your mind?
Based on your answer I would assume then that you would prefer to use
embedding to build another interface that has New() and/or Close() if
needed?
On Wednesday, February 3, 2016 at 6:10:00 AM UTC-8, Henry wrote:
I think you should provide an interface only if it is going to be used by
your package. Otherwise, let the callers determine their own interface.
That's what I would do.
--I think you should provide an interface only if it is going to be used by
your package. Otherwise, let the callers determine their own interface.
That's what I would do.
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 protected].
For more options, visit https://groups.google.com/d/optout.