From 932c042aa20e156b7a585a5f0f8b6c0b81ec027b Mon Sep 17 00:00:00 2001 From: Kharec Date: Sat, 10 Jan 2026 22:43:57 +0100 Subject: [PATCH] feat: add TitleResponseDTO for title fetch responses --- internal/dto/post.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/dto/post.go b/internal/dto/post.go index b6b07cd..f221049 100644 --- a/internal/dto/post.go +++ b/internal/dto/post.go @@ -96,3 +96,7 @@ func ToSearchPostListDTO(posts []database.Post, query string, limit, offset int) Offset: offset, } } + +type TitleResponseDTO struct { + Title string `json:"title"` +}