Unmarshaler is implemented by types that can unmarshal a TOML description of themselves. The input is a valid TOML document containing the relevant portion of the parsed document. For tables (including split tables defined in multiple places), the data contains the raw key-value bytes from the orig
| 8 | // contains the raw key-value bytes from the original document with adjusted |
| 9 | // table headers to be relative to the unmarshaling target. |
| 10 | type Unmarshaler interface { |
| 11 | UnmarshalTOML(data []byte) error |
| 12 | } |
| 13 | |
| 14 | // RawMessage is a raw encoded TOML value. It implements Unmarshaler and can |
| 15 | // be used to delay TOML decoding or capture raw content. |
no outgoing calls
no test coverage detected
searching dependent graphs…