More layout and customisations.

This commit is contained in:
2025-04-01 10:19:56 +01:00
parent aaf90b55da
commit 5aaddf16f1
8 changed files with 218 additions and 126 deletions

View File

@@ -13,6 +13,22 @@ type User struct {
IsAdmin bool
}
type Notification struct {
ID int
Title string
Message string
IsRead bool
CreatedAt time.Time
}
type Message struct {
ID int
Sender string
Subject string
IsRead bool
CreatedAt time.Time
}
var db *sql.DB
func SetDB(database *sql.DB) {