From c5bf1b2fd8dc8bafe99599873055a304ad2c8dbe Mon Sep 17 00:00:00 2001 From: Kharec Date: Sun, 23 Nov 2025 13:12:36 +0100 Subject: [PATCH] feat: locate post-related request DTOs --- internal/dto/post_request.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 internal/dto/post_request.go diff --git a/internal/dto/post_request.go b/internal/dto/post_request.go new file mode 100644 index 0000000..3bfca1a --- /dev/null +++ b/internal/dto/post_request.go @@ -0,0 +1,13 @@ +package dto + +type CreatePostRequest struct { + Title string `json:"title"` + URL string `json:"url"` + Content string `json:"content"` +} + +type UpdatePostRequest struct { + Title string `json:"title"` + Content string `json:"content"` +} +