I am using the net/html package.

I try todo this:
```
doc, err := html.Parse(body)

if err != nil {
  return
}

for n := range node.Descendants()
```
But i cant compile because Descendants isnt implemented on the Node.

I use:
- go version go1.22.3 windows/amd64
- golang.org/x/net v0.35.0

If i go trought the Code i see that Descendants is Implemented in a 
different File to the rest of the Node implementation.

Why does it not import the Iterator?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/e3cb5b0b-2d1a-4a7e-87ed-e5a37a4e2686n%40googlegroups.com.

Reply via email to