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

Unified Diff: go/src/infra/gae/libs/gae/dummy/dummy.go

Issue 1227183003: Change RawDatastore to do less reflection. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@move_dummy
Patch Set: fix No/ShouldIndex Created 5 years, 5 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 | « go/src/infra/gae/epservice/example/service_list.go ('k') | go/src/infra/gae/libs/gae/gae.infra_testing » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/gae/libs/gae/dummy/dummy.go
diff --git a/go/src/infra/gae/libs/gae/dummy/dummy.go b/go/src/infra/gae/libs/gae/dummy/dummy.go
index 8537f88d48bfff903aa0e246b904fd8d9f46ce69..021fd67745ecc27ad605a937cb179e38f3e021fa 100644
--- a/go/src/infra/gae/libs/gae/dummy/dummy.go
+++ b/go/src/infra/gae/libs/gae/dummy/dummy.go
@@ -63,19 +63,19 @@ func ni() error {
type rds struct{}
-func (rds) NewKey(string, string, int64, gae.DSKey) gae.DSKey { panic(ni()) }
-func (rds) DecodeKey(string) (gae.DSKey, error) { panic(ni()) }
-func (rds) KeyFromTokens(a, n string, t []gae.DSKeyTok) (gae.DSKey, error) { panic(ni()) }
-func (rds) Put(gae.DSKey, interface{}) (gae.DSKey, error) { panic(ni()) }
-func (rds) Get(gae.DSKey, interface{}) error { panic(ni()) }
-func (rds) Delete(gae.DSKey) error { panic(ni()) }
-func (rds) PutMulti([]gae.DSKey, interface{}) ([]gae.DSKey, error) { panic(ni()) }
-func (rds) GetMulti([]gae.DSKey, interface{}) error { panic(ni()) }
-func (rds) DeleteMulti([]gae.DSKey) error { panic(ni()) }
-func (rds) NewQuery(string) gae.DSQuery { panic(ni()) }
-func (rds) Run(gae.DSQuery) gae.DSIterator { panic(ni()) }
-func (rds) GetAll(gae.DSQuery, interface{}) ([]gae.DSKey, error) { panic(ni()) }
-func (rds) Count(gae.DSQuery) (int, error) { panic(ni()) }
+func (rds) NewKey(string, string, int64, gae.DSKey) gae.DSKey { panic(ni()) }
+func (rds) DecodeKey(string) (gae.DSKey, error) { panic(ni()) }
+func (rds) KeyFromTokens(a, n string, t []gae.DSKeyTok) (gae.DSKey, error) { panic(ni()) }
+func (rds) Put(gae.DSKey, gae.DSPropertyLoadSaver) (gae.DSKey, error) { panic(ni()) }
+func (rds) Get(gae.DSKey, gae.DSPropertyLoadSaver) error { panic(ni()) }
+func (rds) Delete(gae.DSKey) error { panic(ni()) }
+func (rds) PutMulti([]gae.DSKey, []gae.DSPropertyLoadSaver) ([]gae.DSKey, error) { panic(ni()) }
+func (rds) GetMulti([]gae.DSKey, []gae.DSPropertyLoadSaver) error { panic(ni()) }
+func (rds) DeleteMulti([]gae.DSKey) error { panic(ni()) }
+func (rds) NewQuery(string) gae.DSQuery { panic(ni()) }
+func (rds) Run(gae.DSQuery) gae.RDSIterator { panic(ni()) }
+func (rds) GetAll(gae.DSQuery, *[]gae.DSPropertyMap) ([]gae.DSKey, error) { panic(ni()) }
+func (rds) Count(gae.DSQuery) (int, error) { panic(ni()) }
func (rds) RunInTransaction(func(context.Context) error, *gae.DSTransactionOptions) error {
panic(ni())
}
« no previous file with comments | « go/src/infra/gae/epservice/example/service_list.go ('k') | go/src/infra/gae/libs/gae/gae.infra_testing » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698