Перенести реализацию lab5 в skeleton lab6

This commit is contained in:
Vladislav Kunetskiy
2026-11-04 15:10:14 +03:00
parent 470d9d6f1e
commit 42629c41ec
419 changed files with 75841 additions and 24 deletions
+19
View File
@@ -0,0 +1,19 @@
package domain
import (
"time"
"github.com/google/uuid"
)
type Session struct {
Token string
ExpiresAt time.Time
User User
}
type NewSession struct {
TokenHash []byte
UserID uuid.UUID
ExpiresAt time.Time
}