Add preview card storing to the database

This commit is contained in:
kaimanhub 2025-03-30 20:24:15 +03:00
commit 6169351d22
12 changed files with 228 additions and 55 deletions

View file

@ -395,6 +395,13 @@ func sizeofEmoji() uintptr {
}))
}
func sizeofCard() uintptr {
// TODO: this implementation need to be extended to contain other fields also.
return uintptr(size.Of(&gtsmodel.Card{
ID: exampleID,
}))
}
func sizeofEmojiCategory() uintptr {
return uintptr(size.Of(&gtsmodel.EmojiCategory{
ID: exampleID,