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

Unified Diff: go/src/infra/gae/libs/wrapper/gae/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
« no previous file with comments | « go/src/infra/gae/libs/wrapper/gae/context.go ('k') | go/src/infra/gae/libs/wrapper/gae/globalinfo.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/gae/libs/wrapper/gae/datastore.go
diff --git a/go/src/infra/gae/libs/wrapper/gae/datastore.go b/go/src/infra/gae/libs/wrapper/gae/datastore.go
index dc337f565dc2b3b85d4a3ad2dd0489b05517828b..cb99390ae955a130a0423a4fb174f4d1c8ed1b59 100644
--- a/go/src/infra/gae/libs/wrapper/gae/datastore.go
+++ b/go/src/infra/gae/libs/wrapper/gae/datastore.go
@@ -14,9 +14,9 @@ import (
"infra/gae/libs/wrapper"
)
-// 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(ci context.Context) wrapper.Datastore {
return &dsImpl{ctx(ci), ci}
})
« no previous file with comments | « go/src/infra/gae/libs/wrapper/gae/context.go ('k') | go/src/infra/gae/libs/wrapper/gae/globalinfo.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698