Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 8702657a authored by asShidqi's avatar asShidqi
Browse files

Create Subscriber database and Subscriber repository struct skeleton.

parent 7b23dca4
Branches
No related tags found
No related merge requests found
pub mod product;
pub mod subscriber;
use dashmap::DashMap;
use lazy_static::lazy_static;
use crate::model::subscriber::Subscriber;
// Singleton of Database
lazy_static! {
pub 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