Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Comment ¶
type Comment struct { ID primitive.ObjectID `bson:"_id" json:"id"` User primitive.ObjectID `bson:"_user" json:"user"` Post primitive.ObjectID `bson:"_post" json:"post"` Content string `bson:"content" json:"content"` CreatedAt time.Time `bson:"created_at" json:"created_at"` }
Comment Model
Click to show internal directories.
Click to hide internal directories.