NewHTML creates a new html loader with an io.Reader.
(r io.Reader)
| 20 | |
| 21 | // NewHTML creates a new html loader with an io.Reader. |
| 22 | func NewHTML(r io.Reader) HTML { |
| 23 | return HTML{r} |
| 24 | } |
| 25 | |
| 26 | // Load reads from the io.Reader and returns a single document with the data. |
| 27 | func (h HTML) Load(_ context.Context) ([]schema.Document, error) { |
no outgoing calls
searching dependent graphs…