refactor
This commit is contained in:
13
web/models/notification.go
Normal file
13
web/models/notification.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
type NotificationType int
|
||||
|
||||
const (
|
||||
NotificationTypeSuccess NotificationType = iota
|
||||
NotificationTypeError
|
||||
)
|
||||
|
||||
type Notification struct {
|
||||
Content string
|
||||
Type NotificationType
|
||||
}
|
||||
Reference in New Issue
Block a user