3. We want to be resilient when other methods are added to the
DatastoreClient interface so that the code will still compile when that
happens.
That was my guess too: that it's a tradeoff between safety and future
compatibility. This allows your library users to use newer versions of the
pr
The Google Cloud Go library contains the following code (See
https://github.com/googleapis/google-cloud-go/blob/38a040e213cc8af5b01b3afe422481493f54382f/datastore/client.go#L36
)
// datastoreClient is a wrapper for the pb.DatastoreClient
type datastoreClient struct {
// Embed so we stil