ParseInto parses a strvals line and merges the result into dest. If the strval string has a key that exists in dest, it overwrites the dest version.
(s string, dest map[string]interface{})
| 84 | // If the strval string has a key that exists in dest, it overwrites the |
| 85 | // dest version. |
| 86 | func ParseInto(s string, dest map[string]interface{}) error { |
| 87 | scanner := bytes.NewBufferString(s) |
| 88 | t := newParser(scanner, dest, false) |
| 89 | return t.parse() |
| 90 | } |
| 91 | |
| 92 | // ParseFile parses a set line, but its final value is loaded from the file at the path specified by the original value. |
| 93 | // |