From 443aaadcced2cefb447dba467220a8f5662ae580 Mon Sep 17 00:00:00 2001 From: "asta.xie" Date: Fri, 21 Mar 2014 14:24:00 +0800 Subject: [PATCH] fix #533 change the function name --- session/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session/session.go b/session/session.go index bc8832b0..7da0d41f 100644 --- a/session/session.go +++ b/session/session.go @@ -173,7 +173,7 @@ func (manager *Manager) SessionDestroy(w http.ResponseWriter, r *http.Request) { } // Get SessionStore by its id. -func (manager *Manager) GetProvider(sid string) (sessions SessionStore, err error) { +func (manager *Manager) GetSessionStore(sid string) (sessions SessionStore, err error) { sessions, err = manager.provider.SessionRead(sid) return }