Explorar o código

Merge pull request #253 from heldtogether/patch-1

docs: note need for public struct fields
Roger Peppe %!s(int64=8) %!d(string=hai) anos
pai
achega
81087af14b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 {