13 lines
288 B
Go
Raw Normal View History

2019-06-03 09:32:43 +00:00
package arn
// Force interface implementations
var (
2019-09-08 23:46:43 +00:00
_ Identifiable = (*UserNotifications)(nil)
2019-06-03 09:32:43 +00:00
_ IDCollection = (*UserNotifications)(nil)
)
// Save saves the notification list in the database.
func (list *UserNotifications) Save() {
DB.Set("UserNotifications", list.UserID, list)
}