Documentation ¶
Index ¶
Constants ¶
View Source
const GetNotificationCmd = `` /* 472-byte string literal not displayed */
View Source
const MarkAsReadCmd = `
UPDATE notifications
SET is_read = true
WHERE id = $1;`
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository(db *sql.DB, log *zap.Logger) pkgNotifications.Repository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.