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

Unified Diff: go/src/infra/gae/libs/wrapper/memory/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
Index: go/src/infra/gae/libs/wrapper/memory/memcache.go
diff --git a/go/src/infra/gae/libs/wrapper/memory/memcache.go b/go/src/infra/gae/libs/wrapper/memory/memcache.go
index fd6a60f11e8363fb615e3a986facb6a3b6492cab..9876e7cbe9544859e24f054ec1519e75af655d83 100644
--- a/go/src/infra/gae/libs/wrapper/memory/memcache.go
+++ b/go/src/infra/gae/libs/wrapper/memory/memcache.go
@@ -39,9 +39,9 @@ var (
_ = wrapper.Testable((*memcacheImpl)(nil))
)
-// 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 {
lck := sync.Mutex{}
mcdMap := map[string]*memcacheData{}
« no previous file with comments | « go/src/infra/gae/libs/wrapper/memory/key_test.go ('k') | go/src/infra/gae/libs/wrapper/memory/memcache_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698