Added functionality to user page

This commit is contained in:
2024-04-26 15:45:54 +07:00
parent fd2d4a35fb
commit 769bffe6ff
9 changed files with 186 additions and 64 deletions

View File

@ -2,7 +2,6 @@ package types
import (
"github.com/google/uuid"
"time"
)
type Message struct {
@ -17,14 +16,6 @@ type User struct {
Authenticated bool
}
type UserWithExpired struct {
UserID uuid.UUID
Username string
Email string
Password string
AccessAt time.Time
}
type FileInfo struct {
Name string `json:"name"`
Size int `json:"size"`