Преглед изворни кода

docs: note need for public struct fields

Josh Sephton пре 9 година
родитељ
комит
f2d2788ce5
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      README.md

+ 3 - 0
README.md

@@ -65,6 +65,9 @@ b:
   d: [3, 4]
 `
 
+// Note: struct fields must be public
+// in order for unmarshal to correctly
+// populate the data.
 type T struct {
         A string
         B struct {