diff options
author | Matt Silverlock <matt@eatsleeprepeat.net> | 2015-08-06 10:39:54 +0300 |
---|---|---|
committer | Matt Silverlock <matt@eatsleeprepeat.net> | 2015-08-06 10:39:54 +0300 |
commit | 460e18584b819b2ffc92706c71e9c4791aba65ea (patch) | |
tree | bf053ec315d74f6a457451b51e3eb65e7fed52bc /README.md | |
parent | 286213d1c4d3c5f7ca906279577b126e58fb933c (diff) |
Improved docs re: calling Save before writing/returning.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ Let's start with an example that shows the sessions API in a nutshell: // Set some session values. session.Values["foo"] = "bar" session.Values[42] = 43 - // Save it. + // Save it before we write to the response/return from the handler. session.Save(r, w) } ``` |