We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For...
func doUpdate(url string) error { resp, err := http.Get(url) if err != nil { return err } defer resp.Body.Close() err := update.Apply(resp.Body, update.Options{}) if err != nil { // error handling } return err }
I get: no new variables on left side of :=
The text was updated successfully, but these errors were encountered:
Had to change the second usage of err to err2
Sorry, something went wrong.
No need to change variable name. Just use "=" instead of ":="
small example bug (fixes inconshreveable#32)
8ed26ca
small example bug (fixes #32)
a86480c
No branches or pull requests
For...
I get: no new variables on left side of :=
The text was updated successfully, but these errors were encountered: