FAQ
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 golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedFeb 1, '16 at 10:47p
activeFeb 4, '16 at 3:49p
posts4
users2
websitegolang.org

2 users in discussion

Jonathan Gaillard: 2 posts Henry: 2 posts

People

Translate

site design / logo © 2022 Grokbase