Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Follower ¶
type Follower struct { ID *primitive.ObjectID `bson:"_id,omitempty"` Followed *string `bson:"followed"` Follower *string `bson:"follower"` }
Follower represents a relationship between users, describing the followers that a particular user has.
- "Followed" represents the ID of the user to be followed
- "Follower" represents the ID of the user that is following
Click to show internal directories.
Click to hide internal directories.