11 lines
306 B
Go
11 lines
306 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) *sessions.CookieStore {
|
|
return newStore(key)
|
|
}
|