We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac98c12 commit 49d233aCopy full SHA for 49d233a
internal/session/utils.go
@@ -3,8 +3,8 @@ package session
3
import "time"
4
5
/* serialize session information to store in Redis */
6
-func (s *Session) serializeSessionForRedis() map[string]interface{} {
7
- return map[string]interface{} {
+func (s *Session) serializeSessionForRedis() map[string]any {
+ return map[string]any {
8
"id": s.ID,
9
"username": s.Username,
10
"ip": s.IP,
0 commit comments