package
Version:
v0.0.0-...-f947b13
Opens a new window with list of versions in this module.
Published: Mar 1, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateUserDTO struct {
Email string `json:"email"`
Username string `json:"username"`
Password string `json:"password"`
}
type User struct {
ID string `json:"id" bson:"_id, omitempty"`
Email string `json:"email" bson:"email"`
Username string `json:"username" bson:"username"`
PasswordHash string `json:"-" bson:"password"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.