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
Apologies if this is some rookie mistake - I'm fairly new to Go :-)
When trying the basic grab example (straight from the homepage), I'm getting an error: cannot call non-function resp.Size (type int64)
This is with Go 1.16.3 (reproducible both on MacOS and Raspbian; go env output attached). go mod reports github.com/cavaliercoder/grab@v2.0.0+incompatible.
Thanks - but my question was exactly about the weird effect that accepted
resp.Size on one architecture and resp.Size() on another. The good thing
is, since moving to go 1.16 it seems to be consistent and work as expected.
Apologies if this is some rookie mistake - I'm fairly new to Go :-)
When trying the basic grab example (straight from the homepage), I'm getting an error:
cannot call non-function resp.Size (type int64)
This is with Go 1.16.3 (reproducible both on MacOS and Raspbian;
go env
output attached).go mod
reportsgithub.com/cavaliercoder/grab@v2.0.0+incompatible
.Any help would be greatly appreciated.
goenv.txt
main.go.txt
The text was updated successfully, but these errors were encountered: