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

Unified Diff: service/datastore/reflect.go

Issue 1401533007: Add ability to override just the metadata in a struct. (Closed) Base URL: https://github.com/luci/gae.git@add_exists_method
Patch Set: comment Created 5 years, 2 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/properties.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 d4b5b78b8d131922ee28dda70c796fa6fdd2ba32..0ff5e83461b9abbfae5f021eda3cc77bfd4b492b 100644
--- a/service/datastore/reflect.go
+++ b/service/datastore/reflect.go
@@ -23,4 +23,5 @@ var (
typeOfString = reflect.TypeOf("")
typeOfTime = reflect.TypeOf(time.Time{})
typeOfToggle = reflect.TypeOf(Auto)
+ typeOfMGS = reflect.TypeOf((*MetaGetterSetter)(nil)).Elem()
)
« no previous file with comments | « service/datastore/properties.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698