Update store/store_test.go
This commit is contained in:
parent
41b0d20039
commit
bd738393d4
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ func ExampleStore_Save() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// You can delete the session by setting the session options's MaxAge
|
// You can delete the session by setting the session options's MaxAge
|
||||||
// to a minus value
|
// to a minus value.
|
||||||
session.Options.MaxAge = -1
|
session.Options.MaxAge = -1
|
||||||
if err := sessions.Save(r, w); err != nil {
|
if err := sessions.Save(r, w); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in a new issue