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

Unified Diff: impl/dummy/dummy.go

Issue 1357343002: Add missing AllocateIDs API. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: add panic Created 5 years, 3 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/featureBreaker/rds.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 b559a479ab7fd22ceb0d967692064bdb646a1efb..5b4924694fb9c9a732bf412927c7826e90ddf00f 100644
--- a/impl/dummy/dummy.go
+++ b/impl/dummy/dummy.go
@@ -64,6 +64,9 @@ func ni() error {
type ds struct{}
+func (ds) AllocateIDs(*datastore.Key, int) (int64, error) {
+ panic(ni())
+}
func (ds) PutMulti([]*datastore.Key, []datastore.PropertyMap, datastore.PutMultiCB) error {
panic(ni())
}
« no previous file with comments | « filter/featureBreaker/rds.go ('k') | impl/memory/datastore.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698