From 82d5136c1b03efbb99931884dd75ab1160689ceb Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Tue, 28 Nov 2023 15:17:18 +0530 Subject: Refactoring project - Introducing handlers,models and utils- Updating previous hasher and idgen func + formatting --- models/idhash-pair.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 models/idhash-pair.go (limited to 'models') 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"` +} -- cgit v1.2.3