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

Unified Diff: service/memcache/types.go

Issue 2302743002: Interface update, per-method Contexts. (Closed)
Patch Set: Lightning talk licenses. Created 4 years, 3 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 | « service/memcache/memcache.go ('k') | service/module/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/memcache/types.go
diff --git a/service/memcache/types.go b/service/memcache/types.go
index 8b4472e4e81b9f3bbbade34647fa607ac103d7e0..5d3414ef75f5f6aa6743169490956fd86c6b3d70 100644
--- a/service/memcache/types.go
+++ b/service/memcache/types.go
@@ -26,7 +26,7 @@ type Statistics struct {
// return the original Item (e.g. they mutate the original), due to
// implementation constraints. They return the original item to allow easy
// chaining, e.g.:
-// itm := memcache.Get(c).NewItem("foo").SetValue([]byte("stuff"))
+// itm := memcache.NewItem(c, "foo").SetValue([]byte("stuff"))
type Item interface {
Key() string
Value() []byte
« no previous file with comments | « service/memcache/memcache.go ('k') | service/module/context.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698