Added arn to the main repository
This commit is contained in:
11
arn/UserNotificationsAPI.go
Normal file
11
arn/UserNotificationsAPI.go
Normal file
@ -0,0 +1,11 @@
|
||||
package arn
|
||||
|
||||
// Force interface implementations
|
||||
var (
|
||||
_ IDCollection = (*UserNotifications)(nil)
|
||||
)
|
||||
|
||||
// Save saves the notification list in the database.
|
||||
func (list *UserNotifications) Save() {
|
||||
DB.Set("UserNotifications", list.UserID, list)
|
||||
}
|
Reference in New Issue
Block a user