Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SignInPostData ¶
type SignUpPostData ¶
type UserRes ¶
type UserRes struct { ID bson.ObjectId `json:"id" bson:"_id"` Name string `json:"name"` Email string `json:"email"` Signature string `json:"signature"` Avatar string `json:"avatar"` UserName string `json:"username"` CreatedAt int64 `json:"createdAt"` UpdatedAt int64 `json:"updatedAt"` }
func SaveUser ¶
func SaveUser(data SignUpPostData) (UserRes, error)
Click to show internal directories.
Click to hide internal directories.