aboutsummaryrefslogtreecommitdiff
path: root/internal/gallery/photo.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gallery/photo.go')
-rw-r--r--internal/gallery/photo.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/gallery/photo.go b/internal/gallery/photo.go
new file mode 100644
index 0000000..57678f4
--- /dev/null
+++ b/internal/gallery/photo.go
@@ -0,0 +1,14 @@
+package gallery
+
+import (
+ "github.com/RanXom/galleryd/internal/metadata"
+ "github.com/RanXom/galleryd/internal/scanner"
+)
+
+// Photo represents an image in the gallery
+type Photo struct {
+ ID string
+
+ scanner.File
+ metadata.Metadata
+}