This commit is contained in:
Hank Shen 2023-12-06 12:47:28 +08:00
parent 2e13a9f710
commit 793b0a2f7e

8
utils.go Normal file
View file

@ -0,0 +1,8 @@
package sessions
import "encoding/gob"
func RegisterGob(v interface{}) {
defer recover()
gob.Register(v)
}