Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit bf3a6bd4 authored by dzak27567's avatar dzak27567
Browse files

Create Notification database and Notification repository struct skeleton.

parent 40eece7a
Branches
No related tags found
No related merge requests found
pub mod notification;
\ No newline at end of file
use std::sync::RwLock;
use lazy_static::lazy_static;
use crate::model::notification::Notification;
// Singleton of Database
lazy_static! {
static ref NOTIFICATIONS: RwLock<Vec<Notification>> = RwLock::new(vec![]);
}
pub struct NotificationRepository;
impl NotificationRepository {
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment