提交 70dc9d7e 编写于 作者: A astaxie

update docs

上级 01d87591
......@@ -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(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册