More layout and customisations.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user