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]any)
| 76 | // If the strval string has a key that exists in dest, it overwrites the |
| 77 | // dest version. |
| 78 | func ParseInto(s string, dest map[string]any) error { |
| 79 | scanner := bytes.NewBufferString(s) |
| 80 | t := newParser(scanner, dest, false) |
| 81 | return t.parse() |
| 82 | } |
| 83 | |
| 84 | // ParseFile parses a set line, but its final value is loaded from the file at the path specified by the original value. |
| 85 | // |
searching dependent graphs…