in progress

This commit is contained in:
2026-01-28 20:20:06 +03:00
parent a3e10b12ca
commit 1f63c5fbd4
5 changed files with 56 additions and 0 deletions

12
models/file.go Normal file
View File

@@ -0,0 +1,12 @@
package models
import "github.com/google/uuid"
type File struct {
ID uuid.UUID `json:"id"`
DirID *uuid.UUID `json:"dir_id"`
Name string `json:"name"`
OwnerID uuid.UUID `json:"owner_id"`
IsPublic bool `json:"is_public"`
Data []byte `json:"data"`
}