type Post struct {
ID int `json:"id"`
UserID int `json:"-"`
CategoryID int `json:"category_id"`
PostDate string `json:"post_date"`
ImageURL string `json:"image_url"`
Description string `json:"description"`
Name string `json:"name"`
Username string `json:"username"`
Email string `json:"email"`
Likes []*Like `json:"likes"`
}
type User struct {
ID int `json:"id"`
Email string `json:"email"`
Name string `json:"name"`
Username string `json:"username"`
Password string `json:"password"`
}