4 ms·
But how do you get the thing that implements that interface? Either the framework has to know how to create a querier for each specific type, drop to using emp
by cpuguy83 5y ago
But how do you get the thing that implements that interface?
Either the framework has to know how to create a querier for each specific type, drop to using empty interfaces, or use generics.
- flippinburgers 5y agoThe point of the interface is that the person authoring the code defines the internals.