feat: full redy blog and admin panel
This commit is contained in:
@@ -9,9 +9,10 @@ type Post struct {
|
||||
}
|
||||
|
||||
type PostReq struct {
|
||||
ID int `db:"id" json:"id"`
|
||||
Title string `db:"title" json:"title"`
|
||||
Content string `db:"content" json:"content"`
|
||||
ID int `db:"id" json:"id"`
|
||||
Title string `db:"title" json:"title"`
|
||||
Content string `db:"content" json:"content"`
|
||||
CreatedAt string `db:"created" json:"created_at"`
|
||||
}
|
||||
|
||||
type PostCreate struct {
|
||||
|
||||
Reference in New Issue
Block a user