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

Unified Diff: go/src/infra/gae/libs/wrapper/memory/datastore.go

Issue 1143053004: Simplify memory package interface. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: switch to blasters Created 5 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
Index: go/src/infra/gae/libs/wrapper/memory/datastore.go
diff --git a/go/src/infra/gae/libs/wrapper/memory/datastore.go b/go/src/infra/gae/libs/wrapper/memory/datastore.go
index fdf4df49fef3407a562288c5f3c18f1f5d3d3ebe..9573d7b46cd78f24eab1ef12300043ea9ef1effa 100644
--- a/go/src/infra/gae/libs/wrapper/memory/datastore.go
+++ b/go/src/infra/gae/libs/wrapper/memory/datastore.go
@@ -20,9 +20,9 @@ import (
//////////////////////////////////// public ////////////////////////////////////
-// UseDS adds a wrapper.Datastore implementation to context, accessible
+// useDS adds a wrapper.Datastore implementation to context, accessible
// by wrapper.GetDS(c)
-func UseDS(c context.Context) context.Context {
+func useDS(c context.Context) context.Context {
return wrapper.SetDSFactory(c, func(ic context.Context) wrapper.Datastore {
dsd := cur(ic).Get(memContextDSIdx)
« no previous file with comments | « go/src/infra/gae/libs/wrapper/memory/context.go ('k') | go/src/infra/gae/libs/wrapper/memory/datastore_data.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698