Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserReadDto ¶
type UserReadDto struct { ID primitive.ObjectID `bson:"_id"` Email string `bson:"email"` Password string `bson:"password"` }
Data transfer object for reading user data from MongoDB
func (*UserReadDto) ToUser ¶
func (dto *UserReadDto) ToUser() models.User
Convert a UserReadDto to a User
Click to show internal directories.
Click to hide internal directories.