summaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/yaml.v2/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/yaml.v2/README.md')
-rw-r--r--vendor/gopkg.in/yaml.v2/README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/gopkg.in/yaml.v2/README.md b/vendor/gopkg.in/yaml.v2/README.md
index 7b8bd867..b50c6e87 100644
--- a/vendor/gopkg.in/yaml.v2/README.md
+++ b/vendor/gopkg.in/yaml.v2/README.md
@@ -42,7 +42,7 @@ The package API for yaml v2 will remain stable as described in [gopkg.in](https:
License
-------
-The yaml package is licensed under the LGPL with an exception that allows it to be linked statically. Please see the LICENSE file for details.
+The yaml package is licensed under the Apache License 2.0. Please see the LICENSE file for details.
Example
@@ -65,6 +65,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 {