go.mercari.io/datastore@v1.8.2/testbed/shared_test.go (about) 1 package testbed 2 3 var _ EntityInterface = &PutInterfaceTest{} 4 5 type EntityInterface interface { 6 Kind() string 7 ID() string 8 } 9 10 type PutInterfaceTest struct { 11 kind string 12 id string 13 } 14 15 func (e *PutInterfaceTest) Kind() string { 16 return e.kind 17 } 18 func (e *PutInterfaceTest) ID() string { 19 return e.id 20 }