Re:How to Use Go Interfaces
by dsymonds on Monday March 19, 2018 @11:44PM
(#16625879)
context.Context is an interface because it is known there are multiple implementers (several in the context package itself). The sql driver.Value is actually the other way around: the sql package is the consuming package (for the driver).
[ Parent
| on HN ]
There are no comments on this comment yet.