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

Unified Diff: service/rawdatastore/reflect.go

Issue 1259463002: Add BoolFlag for rawdatastore. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 5 years, 5 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/rawdatastore/reflect.go
diff --git a/service/rawdatastore/reflect.go b/service/rawdatastore/reflect.go
index 040d63e4a8acf496ddb4235cbfe7411694495921..5a996222b5d65c6d59a6826484df211e435fd679 100644
--- a/service/rawdatastore/reflect.go
+++ b/service/rawdatastore/reflect.go
@@ -13,14 +13,15 @@ import (
var (
typeOfBool = reflect.TypeOf(false)
+ typeOfBoolFlag = reflect.TypeOf(BoolFlag(0))
typeOfBSKey = reflect.TypeOf(blobstore.Key(""))
typeOfByteSlice = reflect.TypeOf([]byte(nil))
typeOfByteString = reflect.TypeOf(ByteString(nil))
- typeOfKey = reflect.TypeOf((*Key)(nil)).Elem()
- typeOfPropertyConverter = reflect.TypeOf((*PropertyConverter)(nil)).Elem()
typeOfFloat64 = reflect.TypeOf(float64(0))
typeOfGeoPoint = reflect.TypeOf(GeoPoint{})
typeOfInt64 = reflect.TypeOf(int64(0))
+ typeOfKey = reflect.TypeOf((*Key)(nil)).Elem()
+ typeOfPropertyConverter = reflect.TypeOf((*PropertyConverter)(nil)).Elem()
typeOfString = reflect.TypeOf("")
typeOfTime = reflect.TypeOf(time.Time{})
valueOfnilDSKey = reflect.Zero(typeOfKey)

Powered by Google App Engine
This is Rietveld 408576698