Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 9af64142 authored by Ferdinand57's avatar Ferdinand57
Browse files

Create Subscriber database and Subscriber repository struct skeleton.

parent b7a3d389
Branches
No related tags found
No related merge requests found
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