All checks were successful
check / check (push) Superseded by a newer commit; never tested
11 lines
327 B
Go
11 lines
327 B
Go
package session
|
|
|
|
import "github.com/gorilla/sessions"
|
|
|
|
// NewStore exposes the production cookie-store constructor so tests
|
|
// exercise the store the application actually runs with, rather than a
|
|
// lookalike assembled in the test.
|
|
func NewStore(key []byte, secure bool) *sessions.CookieStore {
|
|
return newStore(key, secure)
|
|
}
|