Documentation ¶ Index ¶ type Post type User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Post ¶ type Post struct { ID bson.ObjectId `json:"id" bson:"_id,omitempty"` To string `json:"to" bson:"to"` From string `json:"from" bson:"from"` Message string `json:"message" bson:"message"` } type User ¶ type User struct { ID bson.ObjectId `json:"id" bson:"_id,omitempty"` Email string `json:"email" bson:"email"` Password string `json:"password,omitempty" bson:"password"` Token string `json:"token,omitempty" bson:"-"` Followers []string `json:"followers,omitempty" bson:"followers,omitempty"` } Source Files ¶ View all Source files post.go user.go Click to show internal directories. Click to hide internal directories.