forked from mtusi2026/mtusi2026lab6
chore: add lab5 files and merge env.example.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package domain
|
||||
|
||||
import "time"
|
||||
|
||||
type AttachmentVariant struct {
|
||||
AttachmentID string
|
||||
Name string
|
||||
ObjectKey string
|
||||
ContentType string
|
||||
SizeBytes int64
|
||||
Width int
|
||||
Height int
|
||||
SHA256 []byte
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
const (
|
||||
VariantThumbnail = "thumbnail"
|
||||
VariantCrop = "crop"
|
||||
VariantOptimized = "optimized"
|
||||
)
|
||||
Reference in New Issue
Block a user