update
This commit is contained in:
parent
2e13a9f710
commit
793b0a2f7e
1 changed files with 8 additions and 0 deletions
8
utils.go
Normal file
8
utils.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package sessions
|
||||
|
||||
import "encoding/gob"
|
||||
|
||||
func RegisterGob(v interface{}) {
|
||||
defer recover()
|
||||
gob.Register(v)
|
||||
}
|
Loading…
Reference in a new issue