summaryrefslogtreecommitdiff
path: root/internal/media/media.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-02 15:00:53 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-02 15:00:53 +0100
commit2f57eb5ece9a5cb25b78284d01bd55b14d2e4580 (patch)
tree93fc811b30ca74f8c28747f411c8fb800a98e0b5 /internal/media/media.go
parentmore refactoring, media handler => manager (diff)
downloadgotosocial-2f57eb5ece9a5cb25b78284d01bd55b14d2e4580.tar.xz
fiddle around with workers
Diffstat (limited to 'internal/media/media.go')
-rw-r--r--internal/media/media.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/media/media.go b/internal/media/media.go
new file mode 100644
index 000000000..e96c37020
--- /dev/null
+++ b/internal/media/media.go
@@ -0,0 +1,7 @@
+package media
+
+import gtsmodel "github.com/superseriousbusiness/gotosocial/internal/db/bundb/migrations/20211113114307_init"
+
+type Media struct {
+ Attachment *gtsmodel.MediaAttachment
+}