13 lines
288 B
Go
13 lines
288 B
Go
package arn
|
|
|
|
// Force interface implementations
|
|
var (
|
|
_ Identifiable = (*UserNotifications)(nil)
|
|
_ IDCollection = (*UserNotifications)(nil)
|
|
)
|
|
|
|
// Save saves the notification list in the database.
|
|
func (list *UserNotifications) Save() {
|
|
DB.Set("UserNotifications", list.UserID, list)
|
|
}
|