Index: service/datastore/pls.go |
diff --git a/service/datastore/pls.go b/service/datastore/pls.go |
index 86613728527adaa902537557c0f750c4fb462033..4fcadbebc4b5a863b13c6df18d6f7237b401b3a2 100644 |
--- a/service/datastore/pls.go |
+++ b/service/datastore/pls.go |
@@ -86,6 +86,9 @@ import ( |
// // 'Lines' will serialized to the datastore in the field 'Lines' |
// Lines []string |
// } |
+// |
+// A pointer-to-struct may also implement MetaGetterSetter to provide more |
+// sophistocated metadata values. |
Vadim Sh.
2015/10/13 04:27:48
note that explicitly defined fields take precedenc
iannucci
2015/10/13 04:34:40
Done.
|
func GetPLS(obj interface{}) PropertyLoadSaver { |
v := reflect.ValueOf(obj) |
if v.Kind() != reflect.Ptr || v.Elem().Kind() != reflect.Struct { |