type Contact struct {
ID int `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
ProfileImg string `json:"profile_img"`
About string `json:"about"`
}
type Conversation struct {
ID int `json:"id"`
SenderID int `json:"sender_id"`
ReceiverID int `json:"receiver_id"`
Message string `json:"message"`
CreatedAt string `json:"created_at"`
}
type User struct {
ID int `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"-"` // remove password from json response ProfileImg string `json:"profile_img"`
About string `json:"about"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}