feat: locate post-related request DTOs
This commit is contained in:
1 parent
eedebe60d1
commit
c5bf1b2fd8
1 file changed
+13
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user