Refactor and remove sqlite and replace with MySQL
This commit is contained in:
10
internal/models/template.go
Normal file
10
internal/models/template.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
type TemplateData struct {
|
||||
User *User
|
||||
IsAdmin bool
|
||||
NotificationCount int
|
||||
Notifications []Notification
|
||||
MessageCount int
|
||||
Messages []Message
|
||||
}
|
||||
Reference in New Issue
Block a user