diff options
author | Matt Silverlock <matt@eatsleeprepeat.net> | 2015-08-11 15:09:55 +0300 |
---|---|---|
committer | Matt Silverlock <matt@eatsleeprepeat.net> | 2015-08-11 15:09:55 +0300 |
commit | c739570bf8879b63b55c74cd976a1130ae93dfa4 (patch) | |
tree | e64b95f52816a5effeb33f9ec56225b2981c2452 | |
parent | ab250e0cde98b2d4030f0ac1879e7394c2e416a0 (diff) |
Fixed typo in doc string.
-rw-r--r-- | store.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,7 +114,7 @@ func (s *CookieStore) Save(r *http.Request, w http.ResponseWriter, } // MaxAge sets the maximum age for the store and the underlying cookie -// implementation. Individual sessions can be deleted by setting Options.MaxAge +// implementation. Individual sessions can be deleted by setting Options.MaxAge // = -1 for that session. func (s *CookieStore) MaxAge(age int) { s.Options.MaxAge = age @@ -227,7 +227,7 @@ func (s *FilesystemStore) Save(r *http.Request, w http.ResponseWriter, } // MaxAge sets the maximum age for the store and the underlying cookie -// implementation. Individual sessions can be deleted by setting Options.MaxAge +// implementation. Individual sessions can be deleted by setting Options.MaxAge // = -1 for that session. func (s *FilesystemStore) MaxAge(age int) { s.Options.MaxAge = age |