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

Unified Diff: service/datastore/reflect.go

Issue 1259593005: Add 'user friendly' datastore API. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: more docs 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
« no previous file with comments | « service/datastore/raw_interface.go ('k') | service/datastore/types.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/reflect.go
diff --git a/service/datastore/reflect.go b/service/datastore/reflect.go
index b7b3521a444b2f8832832705a179ab37341bfffe..c35db230d32c862a755aa7a4127ebf9b8ac63b3f 100644
--- a/service/datastore/reflect.go
+++ b/service/datastore/reflect.go
@@ -13,7 +13,6 @@ import (
var (
typeOfBool = reflect.TypeOf(false)
- typeOfToggle = reflect.TypeOf(Auto)
typeOfBSKey = reflect.TypeOf(blobstore.Key(""))
typeOfByteSlice = reflect.TypeOf([]byte(nil))
typeOfByteString = reflect.TypeOf(ByteString(nil))
@@ -22,7 +21,9 @@ var (
typeOfInt64 = reflect.TypeOf(int64(0))
typeOfKey = reflect.TypeOf((*Key)(nil)).Elem()
typeOfPropertyConverter = reflect.TypeOf((*PropertyConverter)(nil)).Elem()
+ typeOfPropertyLoadSaver = reflect.TypeOf((*PropertyLoadSaver)(nil)).Elem()
typeOfString = reflect.TypeOf("")
typeOfTime = reflect.TypeOf(time.Time{})
+ typeOfToggle = reflect.TypeOf(Auto)
valueOfnilDSKey = reflect.Zero(typeOfKey)
)
« no previous file with comments | « service/datastore/raw_interface.go ('k') | service/datastore/types.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698