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

Merge pull request #253 from heldtogether/patch-1

docs: note need for public struct fields
Roger Peppe 8 лет назад
Родитель
Сommit
d670f94053
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -67,6 +67,8 @@ 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 {