Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID bson.ObjectId `bson:"_id" json:"id"` Name string `bson:"name" json:"name"` Email string `bson:"email" json:"email"` No_hp string `bson:"no_hp" json:"no_hp"` Event_id string `bson:"event_id" json:"event_id"` }
Represents a user, use bson keyword to tell mgo driver how to name the properties mongodb document
Click to show internal directories.
Click to hide internal directories.