diff --git a/README.md b/README.md index 438ffd4..7cb91c8 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ func doUpdate(url string) error { return err } defer resp.Body.Close() - err := update.Apply(resp.Body, update.Options{}) + err = update.Apply(resp.Body, update.Options{}) if err != nil { // error handling }