You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i import goquery into my func
it says
error while importing github.com/PuerkitoBio/goquery: package iter is not in std (/usr/local/go/src/iter)compiler
The text was updated successfully, but these errors were encountered:
As wollomatic mentions in the previous comment, the latest version of goquery requires Go 1.23 (which provides that iter package in the stdlib). If you do not wish or cannot upgrade to Go 1.23, you can install the v1.9.x version of goquery, which works with Go 1.18+:
$ go get github.com/PuerkitoBio/goquery@v1.9.3
Hope this helps,
Martin
mna
changed the title
why this happen
error importing goquery: package iter is not in std
Oct 11, 2024
when i import goquery into my func
it says
error while importing github.com/PuerkitoBio/goquery: package iter is not in std (/usr/local/go/src/iter)compiler
The text was updated successfully, but these errors were encountered: