From f449c1e55c57a2be35910038aab210f22818e82c Mon Sep 17 00:00:00 2001 From: arzumify Date: Sun, 3 Nov 2024 16:52:46 +0000 Subject: [PATCH] Add the quota type --- main.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 8f30263..f5dd187 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package library import ( - "github.com/google/uuid" + "github.com/google/uuid" ) type OAuthInformation struct { @@ -22,3 +22,8 @@ type File struct { User uuid.UUID `validate:"required"` Bytes []byte // Only used in write operations } + +type Quota struct { + User uuid.UUID `validate:"required"` + Bytes int64 `validate:"required"` +}