Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserCollection = "users"
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ObjId primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Id int `bson:"id," json:"id"` Name string `bson:"first_name" json:"first_name"` Surname string `bson:"last_name" json:"last_name"` Idnp string `bson:"idnp" json:"idnp"` Email string `bson:"email" json:"email"` IpAddress string `bson:"ip_address" json:"ip_address"` }
Click to show internal directories.
Click to hide internal directories.