Просмотр исходного кода

docs: note need for public struct fields

Josh Sephton 9 лет назад
Родитель
Сommit
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 {