Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUserById ¶
func InsertUser ¶
func IsUserEmailHave ¶
func UpdateUserById ¶
Types ¶
type UserJson ¶
type UserJson struct { Id interface{} `bson:"_id,omitempty"` Name string `bson:"name"` AvatarType string `bson:"avatar_type"` AvatarName string `bson:"avatar_name"` Age int `bson:"age"` YearOfBirth int `bson:"year_of_birth"` Note string `bson:"note,omitempty"` Email string `bson:"email"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` }
func GetUserById ¶
Click to show internal directories.
Click to hide internal directories.