(body []byte, obj any)
| 23 | } |
| 24 | |
| 25 | func (tomlBinding) BindBody(body []byte, obj any) error { |
| 26 | return decodeToml(bytes.NewReader(body), obj) |
| 27 | } |
| 28 | |
| 29 | func decodeToml(r io.Reader, obj any) error { |
| 30 | decoder := toml.NewDecoder(r) |
nothing calls this directly
no test coverage detected