package models import "time" type Comment struct { ID uint `gorm:"primaryKey" json:"id"` PostID string `json:"post_id"` Content string `json:"content"` CreatedAt time.Time `json:"created_at"` }