Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct { ID primitive.ObjectID `json:"id" bson:"_id"` Name string `json:"name" bson:"name" validate:"required"` Email string `json:"email" bson:"email" validate:"required"` Password string `json:"password" bson:"password" validate:"required"` CreatedAt time.Time `json:"createdAt" bson:"createdAt"` UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt"` }
User struct
Click to show internal directories.
Click to hide internal directories.