chore: Add logic for put and get by id handler
Some checks failed
Backend ci / build (push) Has been cancelled

This commit is contained in:
d3m0k1d
2026-02-04 12:14:35 +03:00
parent 83cf741f4e
commit 01b6ab746e
8 changed files with 195 additions and 16 deletions

View File

@@ -8,6 +8,7 @@ type Post struct {
}
type PostReq struct {
ID int `json:"id"`
Title string `json:"title"`
Content string `json:"content"`
}