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

Unified Diff: service/datastore/reflect.go

Issue 1270113002: Re-add metadata passthrough on Get operations (Closed) Base URL: https://github.com/luci/gae.git@fix_other_interfaces
Patch Set: cleanup 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_test.go ('k') | no next file » | 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 c35db230d32c862a755aa7a4127ebf9b8ac63b3f..a2d30c70f8aded02b8c2a24035d0b08ef22a1fed 100644
--- a/service/datastore/reflect.go
+++ b/service/datastore/reflect.go
@@ -12,11 +12,8 @@ import (
)
var (
- typeOfBool = reflect.TypeOf(false)
typeOfBSKey = reflect.TypeOf(blobstore.Key(""))
- typeOfByteSlice = reflect.TypeOf([]byte(nil))
typeOfByteString = reflect.TypeOf(ByteString(nil))
- typeOfFloat64 = reflect.TypeOf(float64(0))
typeOfGeoPoint = reflect.TypeOf(GeoPoint{})
typeOfInt64 = reflect.TypeOf(int64(0))
typeOfKey = reflect.TypeOf((*Key)(nil)).Elem()
@@ -25,5 +22,4 @@ var (
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_test.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698