Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bambangshop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Muhammad Fayyed As Shidqi
bambangshop
Commits
8702657a
Commit
8702657a
authored
4 months ago
by
asShidqi
Browse files
Options
Downloads
Patches
Plain Diff
Create Subscriber database and Subscriber repository struct skeleton.
parent
7b23dca4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/repository/mod.rs
+1
-0
1 addition, 0 deletions
src/repository/mod.rs
src/repository/subscriber.rs
+13
-0
13 additions, 0 deletions
src/repository/subscriber.rs
with
14 additions
and
0 deletions
src/repository/mod.rs
+
1
−
0
View file @
8702657a
pub
mod
product
;
pub
mod
subscriber
;
This diff is collapsed.
Click to expand it.
src/repository/subscriber.rs
0 → 100644
+
13
−
0
View file @
8702657a
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment