Skip to content

Commit d01f023

Browse files
committed
Add space after ','
1 parent b724060 commit d01f023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh/06.2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Go实现整个的流程应该也是这样的,在main包中创建一个全局
5656
var globalSessions *session.Manager
5757
//然后在init函数中初始化
5858
func init() {
59-
globalSessions, _ = NewManager("memory","gosessionid",3600)
59+
globalSessions, _ = NewManager("memory", "gosessionid", 3600)
6060
}
6161
```
6262
我们知道session是保存在服务器端的数据,它可以以任何的方式存储,比如存储在内存、数据库或者文件中。因此我们抽象出一个Provider接口,用以表征session管理器底层存储结构。

0 commit comments

Comments
 (0)