Added arn to the main repository
This commit is contained in:
6
arn/NotificationAPI.go
Normal file
6
arn/NotificationAPI.go
Normal file
@ -0,0 +1,6 @@
|
||||
package arn
|
||||
|
||||
// Save saves the notification in the database.
|
||||
func (notification *Notification) Save() {
|
||||
DB.Set("Notification", notification.ID, notification)
|
||||
}
|
Reference in New Issue
Block a user