chore: coded post req for create posts on db
All checks were successful
Backend ci / build (push) Successful in 7m43s

This commit is contained in:
d3m0k1d
2026-02-03 23:21:01 +03:00
parent 44406b02d3
commit 9b9d45e0a6
14 changed files with 254 additions and 67 deletions

View File

@@ -11,3 +11,8 @@ type PostReq struct {
Title string `json:"title"`
Content string `json:"content"`
}
type PostCreate struct {
Title string `json:"title"`
Content string `json:"content"`
}