Gustavo Niemeyer 13 anni fa
parent
commit
b3031338ac
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      goyaml.go

+ 2 - 0
goyaml.go

@@ -119,6 +119,8 @@ func Unmarshal(in []byte, out interface{}) (err error) {
 //     flow         Marshal using a flow style (useful for structs,
 //                  sequences and maps.
 //
+// In addition, if the key is "-", the field is ignored.
+//
 // For example:
 //
 //     type T struct {