13 lines
288 B
Go
Raw Normal View History

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