summaryrefslogtreecommitdiff
path: root/models/idhash-pair.go
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-11-28 15:17:18 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-11-28 15:17:18 +0530
commit82d5136c1b03efbb99931884dd75ab1160689ceb (patch)
tree3095f344055c4ad54a8238599839fa0088054fbd /models/idhash-pair.go
parenta3ead3d67520704eda55a74841b00d5766728fab (diff)
Refactoring project - Introducing handlers,models and utils- Updating previous hasher and idgen func + formatting
Diffstat (limited to 'models/idhash-pair.go')
-rw-r--r--models/idhash-pair.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/models/idhash-pair.go b/models/idhash-pair.go
new file mode 100644
index 0000000..b78dcb7
--- /dev/null
+++ b/models/idhash-pair.go
@@ -0,0 +1,6 @@
+package models
+
+type FileHashPair struct {
+ ID string `json:"id"`
+ FileHash string `json:"fileHash"`
+}