[go-nuts] Re: Best practice when putting large amounts of functionality behind an interface

2016-06-27 Thread Chad
What does the interface look like currently? On Monday, June 27, 2016 at 10:54:31 PM UTC+2, Tyler Compton wrote: > > Right now, I have a web server with an interface that defines methods for > every kind of database read/write operation my application has. > Any example ? > Unsurprisingly, it

[go-nuts] Re: Best practice when putting large amounts of functionality behind an interface

2016-06-27 Thread Tyler Compton
The interface I'm speaking of can be found here[1] on Github. I like your idea of composing interfaces. Most all of my operations fall into groups based on what kind of object they can operate on, so I could have interfaces for each kind and perhaps a master interface composed of every other in