Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Post ¶
type Post struct { ID int `json:"id"` UserID int `json:"user"` Title string `json:"title"` Message string `json:"message"` }
Post ...
type User ¶
type User struct { ID string `json:"id"` UserName string `json:"username"` Email string `json:"email"` Password string `json:"password"` Number string `json:"number"` Male bool `json:"male"` Country string `json:"country"` DateOfBirth time.Time `json:"dob"` About string `json:"about"` }
User ...
func (*User) ComparePassword ¶
ComparePassword ...
Click to show internal directories.
Click to hide internal directories.