Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit b6ceee2f authored by raja's avatar raja
Browse files

Create Notification database and Notification repository struct skeleton.

parent 4e50d445
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