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

Unified Diff: go/src/infra/gae/libs/wrapper/gae/memcache.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/globalinfo.go ('k') | go/src/infra/gae/libs/wrapper/gae/taskqueue.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/memcache.go
diff --git a/go/src/infra/gae/libs/wrapper/gae/memcache.go b/go/src/infra/gae/libs/wrapper/gae/memcache.go
index dc7326a260837c7c1e70e0b45031c20569138096..1d1fdb926e208d03720e6bddb1e553dfd624402c 100644
--- a/go/src/infra/gae/libs/wrapper/gae/memcache.go
+++ b/go/src/infra/gae/libs/wrapper/gae/memcache.go
@@ -13,9 +13,9 @@ import (
"infra/gae/libs/wrapper"
)
-// UseMC adds a wrapper.Memcache implementation to context, accessible
+// useMC adds a wrapper.Memcache implementation to context, accessible
// by wrapper.GetMC(c)
-func UseMC(c context.Context) context.Context {
+func useMC(c context.Context) context.Context {
return wrapper.SetMCFactory(c, func(ci context.Context) wrapper.Memcache {
return mcImpl{ctx(c).Context}
})
« no previous file with comments | « go/src/infra/gae/libs/wrapper/gae/globalinfo.go ('k') | go/src/infra/gae/libs/wrapper/gae/taskqueue.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698