go-flickr icon indicating copy to clipboard operation
go-flickr copied to clipboard

Installation failed

Open mibori opened this issue 11 years ago • 1 comments

mibair:stdinurls mibori$ go get github.com/mncaudill/go-flickr
# github.com/mncaudill/go-flickr
../../github.com/mncaudill/go-flickr/flickr.go:216: calling method Do with receiver client (type **http.Client) requires explicit dereference

mibori avatar Feb 18 '15 14:02 mibori

I was able to get it to build by removing the & operator from line 215 so it reads:

    client := http.DefaultClient
    resp, err := client.Do(postRequest)

etherald avatar Mar 20 '15 19:03 etherald