aboutsummaryrefslogtreecommitdiff
path: root/store.go
diff options
context:
space:
mode:
authorMatt Silverlock <matt@eatsleeprepeat.net>2015-08-11 15:09:55 +0300
committerMatt Silverlock <matt@eatsleeprepeat.net>2015-08-11 15:09:55 +0300
commitc739570bf8879b63b55c74cd976a1130ae93dfa4 (patch)
treee64b95f52816a5effeb33f9ec56225b2981c2452 /store.go
parentab250e0cde98b2d4030f0ac1879e7394c2e416a0 (diff)
Fixed typo in doc string.
Diffstat (limited to 'store.go')
-rw-r--r--store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store.go b/store.go
index 77ab0bf..e037e05 100644
--- a/store.go
+++ b/store.go
@@ -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