🏷️ Added Width and Height properties for File domain

This commit is contained in:
Maxim Lebedev 2023-11-10 03:52:56 +06:00
parent e95851ee12
commit fc4e5281a8
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ type File struct {
Path string
Updated time.Time
Content []byte
// Only for graphics
Width int
Height int
}
// LogicalName returns full file name without directory path.