Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit b23e7282 authored by Ida Made Revindra Dikta Mahendra's avatar Ida Made Revindra Dikta Mahendra
Browse files

[CHORE]: Create Subscriber database and Subscriber repository struct skeleton

parent 08c95a81
Branches
No related tags found
No related merge requests found
pub mod product; pub mod product;
pub mod subscriber;
\ No newline at end of file
use dashmap::DashMap;
use lazy_static::lazy_static;
use crate::model::subscriber::Subscriber;
// Singleton of Database
lazy_static! {
static ref SUBSCRIBERS: DashMap<String, DashMap<String, Subscriber>> = DashMap::new();
}
pub struct SubscriberRepository;
impl SubscriberRepository{
}
\ 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