Versions in this module Expand all Collapse all v0 v0.0.2 Mar 10, 2020 v0.0.1 Mar 8, 2020 Changes in this version + type Config struct + DB *gorm.DB + type Database struct + Config *Config + func New(config *Config) *Database + func (database *Database) GetNotification(user interface{}, notificationID string, _ *notification.Notification, ...) (*notification.QorNotification, error) + func (database *Database) GetNotifications(user interface{}, results *notification.NotificationsResult, ...) error + func (database *Database) GetUnresolvedNotificationsCount(user interface{}, _ *notification.Notification, context *qor.Context) uint + func (database *Database) Send(message *notification.Message, context *qor.Context) error