Skip to content

Commit db85759

Browse files
Fixed uuid datatype
1 parent 1575c08 commit db85759

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/session/model.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import (
44
"container/list"
55
"sync"
66
"time"
7+
8+
"github.com/google/uuid"
79
)
810

911
/* defining Status type for sessions */
@@ -29,7 +31,7 @@ type Session struct {
2931
Status Status
3032

3133
/* unique ID of session [will be associated with the user forever in logs] */
32-
ID string
34+
ID uuid.UUID
3335

3436
/* username of the user */
3537
Username string

0 commit comments

Comments
 (0)