From 09db7d6c310d7cc422577973aa07e911ebc1cdc6 Mon Sep 17 00:00:00 2001 From: Arzumify Date: Wed, 16 Oct 2024 17:59:52 +0100 Subject: [PATCH] Added the blob storage file struct --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.go b/main.go index d88336a..2fcef99 100644 --- a/main.go +++ b/main.go @@ -12,3 +12,9 @@ type OAuthResponse struct { AppID string `json:"appId"` SecretKey string `json:"secretKey"` } + +type File struct { + Name string `validate:"required"` + User uuid.UUID `validate:"required"` + Bytes []byte // Only used in write operations +}