From 70dc9d7e144b6131f8c3c92c3dc015cdd585dfb6 Mon Sep 17 00:00:00 2001 From: astaxie Date: Tue, 26 Nov 2013 17:14:27 +0800 Subject: [PATCH] update docs --- session/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/session/README.md b/session/README.md index 6cf8cb74..bdddabe3 100644 --- a/session/README.md +++ b/session/README.md @@ -46,7 +46,9 @@ Then in you web app init the global session manager go globalSessions.GC() } -* Use **MySQL** as provider, the last param is the DSN, learn more from [mysql](https://github.com/Go-SQL-Driver/MySQL#dsn-data-source-name): +* Use **MySQL** as provider, the last param is the DSN, learn more from [mysql](https://github.com/go-sql-driver/mysql#dsn-data-source-name),but first you should import mysql: + + import _ "github.com/go-sql-driver/mysql" func init() { globalSessions, _ = session.NewManager( -- GitLab