Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedUser ¶
type CachedUser struct { ID int `json:"id"` Username string `json:"username"` Name string `json:"name"` Age int `json:"age"` PhoneNumber string `json:"phonenumber"` Sex bool `json:"sex"` AvartarImg string `json:"avatarimg"` Hobbies []model.Hobby `json:"hobbies"` SexOfInterest bool `json:"sexofinterest"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` }
func CahedUserUnmarshal ¶
func CahedUserUnmarshal(data []byte) (*CachedUser, error)
func (*CachedUser) Marshal ¶
func (c *CachedUser) Marshal() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.