Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTweet ¶
type GetRelation ¶
type GetRelation struct {
Status bool `json:"status"`
}
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token,omitempty"`
}
type TweetsFollowers ¶
type User ¶
type User struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id"` Name string `bson:"name,omitempty" json:"name,omitempty"` LastName string `bson:"lastname" json:"lastname,omitempty"` Birthday time.Time `bson:"birthday" json:"birthday,omitempty"` Email string `bson:"email" json:"email"` Password string `bson:"password" json:"password,omitempty"` Avatar string `bson:"avatar" json:"avatar,omitempty"` Banner string `bson:"banner" json:"banner,omitempty"` Biography string `bson:"biography" json:"biography,omitempty"` Location string `bson:"location" json:"location,omitempty"` Website string `bson:"website" json:"website,omitempty"` }
Click to show internal directories.
Click to hide internal directories.