Skip to content

Commit

Permalink
Fix typo in README example (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coteh committed Aug 19, 2020
1 parent 947297c commit 61fa50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -41,7 +41,7 @@ Let's start with an example that shows the sessions API in a nutshell:
session.Values["foo"] = "bar"
session.Values[42] = 43
// Save it before we write to the response/return from the handler.
err = session.Save(r, w)
err := session.Save(r, w)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
Expand Down

0 comments on commit 61fa50d

Please sign in to comment.