文件系统的存储方式

This commit is contained in:
Yuzhong Zhang
2025-07-06 15:38:14 +08:00
parent 44414af085
commit 7083d04fbf
4 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ type (
UserID string `json:"-"` // Not exposed in JSON responses, used internally.
Name string `json:"name"`
Thumbnail string `json:"thumbnail,omitempty"`
Data []byte `json:"-"` // The full canvas data, not included in list views.
Data []byte `json:"data,omitempty"` // The full canvas data, not included in list views.
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}