feat: locate post-related request DTOs

This commit is contained in:
2025-11-23 13:12:36 +01:00
parent eedebe60d1
commit c5bf1b2fd8

View File

@@ -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"`
}