feat: start develop a comment logic

This commit is contained in:
d3m0k1d
2026-02-15 19:06:10 +03:00
parent 2c3e6578e9
commit 0eca2b1e68
7 changed files with 132 additions and 8 deletions

View File

@@ -110,6 +110,7 @@ func (h *PostHandlers) CreatePost(c *gin.Context) {
post := storage.Post{
Title: req.Title,
Content: req.Content,
Tags: req.Tags,
}
if err := h.repo.Create(c.Request.Context(), post); err != nil {