Skip to content

cannot call non-function resp.Size (type int64) #91

@abelikoff

Description

@abelikoff

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.

Any help would be greatly appreciated.

goenv.txt
main.go.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions