summaryrefslogtreecommitdiffstats
path: root/api/dto/entry.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.net>2025-09-09 22:44:09 +0100
committerLeonardo Bishop <me@leonardobishop.net>2025-09-09 22:44:09 +0100
commitf1741a7faa9538e9b12ac60e0fbf6c7721a36059 (patch)
tree2b70b14fc20a8520718910a0cd2e0134790c6f53 /api/dto/entry.go
Initial commit
Diffstat (limited to 'api/dto/entry.go')
-rw-r--r--api/dto/entry.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/api/dto/entry.go b/api/dto/entry.go
new file mode 100644
index 0000000..85e39f3
--- /dev/null
+++ b/api/dto/entry.go
@@ -0,0 +1,9 @@
+package dto
+
+type CreateEntryRequest struct {
+ Title string `json:"title"`
+ Kind string `json:"kind"`
+ Url string `json:"url"`
+ Description string `json:"description"`
+ Token string `json:"token"`
+}