ParseIntoFile parses a filevals line and merges the result into dest. This method always returns a string as the value.
(s string, dest map[string]interface{}, reader RunesValueReader)
| 116 | // |
| 117 | // This method always returns a string as the value. |
| 118 | func ParseIntoFile(s string, dest map[string]interface{}, reader RunesValueReader) error { |
| 119 | scanner := bytes.NewBufferString(s) |
| 120 | t := newFileParser(scanner, dest, reader) |
| 121 | return t.parse() |
| 122 | } |
| 123 | |
| 124 | // RunesValueReader is a function that takes the given value (a slice of runes) |
| 125 | // and returns the parsed value |
nothing calls this directly
no test coverage detected