Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit de42c8b0 authored by Christian Raphael Heryanto's avatar Christian Raphael Heryanto
Browse files

Create Subscriber database and Subscriber repository struct skeleton.

parent 443ef33d
No related branches found
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;
ise crate::model::subscriber::Subscriber;
// Singleton of Database
lazy_static! {
static ref SUBSCRIBERS: DashMap<String, DashMap<String, Subscriber>> = DashMap::new();
}
pub strict 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.
Finish editing this message first!
Please register or to comment