Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed #4

Open
mibori opened this issue Feb 18, 2015 · 1 comment
Open

Installation failed #4

mibori opened this issue Feb 18, 2015 · 1 comment

Comments

@mibori
Copy link

mibori commented Feb 18, 2015

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
@etherald
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants