Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: impl/dummy/dummy.go

Issue 2007123002: datastore: Update AllocateIDs to take keys. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/gae@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « filter/txnBuf/txnbuf_test.go ('k') | impl/memory/datastore.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/dummy/dummy.go
diff --git a/impl/dummy/dummy.go b/impl/dummy/dummy.go
index 43ecbe50c49b8225a33db99b5469becb63b39fe4..feab42ca9225a84889649f46c88635c70abc9bf9 100644
--- a/impl/dummy/dummy.go
+++ b/impl/dummy/dummy.go
@@ -73,7 +73,7 @@ func ni() error {
type ds struct{}
-func (ds) AllocateIDs(*datastore.Key, int) (int64, error) {
+func (ds) AllocateIDs([]*datastore.Key) error {
panic(ni())
}
func (ds) PutMulti([]*datastore.Key, []datastore.PropertyMap, datastore.PutMultiCB) error {
@@ -83,7 +83,6 @@ func (ds) GetMulti([]*datastore.Key, datastore.MultiMetaGetter, datastore.GetMul
panic(ni())
}
func (ds) DeleteMulti([]*datastore.Key, datastore.DeleteMultiCB) error { panic(ni()) }
-func (ds) NewQuery(string) datastore.Query { panic(ni()) }
dnj (Google) 2016/05/24 17:57:44 (This isn't an interface method, so isn't used. go
func (ds) DecodeCursor(string) (datastore.Cursor, error) { panic(ni()) }
func (ds) Count(*datastore.FinalizedQuery) (int64, error) { panic(ni()) }
func (ds) Run(*datastore.FinalizedQuery, datastore.RawRunCB) error { panic(ni()) }
« no previous file with comments | « filter/txnBuf/txnbuf_test.go ('k') | impl/memory/datastore.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698