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

Unified Diff: service/memcache/types.go

Issue 1270063003: Make the rest of the services have a similar raw/user interface structure. (Closed) Base URL: https://github.com/luci/gae.git@add_datastore
Patch Set: Created 5 years, 4 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: service/memcache/types.go
diff --git a/service/memcache/types.go b/service/memcache/types.go
index 1bc49d8cde1cc123d664337ac0f6e317059eb819..760d0f0fee3cc5116c5ebd7b708ba7b50694af26 100644
--- a/service/memcache/types.go
+++ b/service/memcache/types.go
@@ -30,13 +30,13 @@ type Statistics struct {
type Item interface {
Key() string
dnj 2015/08/03 22:37:25 Exported methods need comments.
Value() []byte
- Object() interface{}
Flags() uint32
Expiration() time.Duration
SetKey(string) Item
SetValue([]byte) Item
- SetObject(interface{}) Item
SetFlags(uint32) Item
SetExpiration(time.Duration) Item
+
+ SetAll(other Item)
}

Powered by Google App Engine
This is Rietveld 408576698