Versions in this module Expand all Collapse all v0 v0.1.0 Aug 31, 2022 Changes in this version + var MemRepositoryFactory = RepositoryFactoryFunc(func() domain.NotificationRepository { ... }) + type MemRepository struct + func NewMemRepository() *MemRepository + func (r *MemRepository) GetLastNotifications(n int) []domain.Notification + func (r *MemRepository) GetNotificationCount() int + func (r *MemRepository) GetNotifications(from, to int) []domain.Notification + func (r *MemRepository) SaveNotification(notification domain.Notification) + type RepositoryFactoryFunc func() domain.NotificationRepository + func (f RepositoryFactoryFunc) GetRepository() domain.NotificationRepository