You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package model
|
|
|
|
type NotificationType int
|
|
|
|
const (
|
|
NotificationError NotificationType = iota
|
|
NotificationWarning
|
|
NotificationInfo
|
|
NotificationSuccess
|
|
)
|
|
|
|
type Notification struct {
|
|
Model
|
|
Type NotificationType `json:"type"`
|
|
Title string `json:"title"`
|
|
Details string `json:"details"`
|
|
}
|