Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoInstance ¶
MongoInstance struct holds the MongoDB client instance
type User ¶
type User struct { ID string `bson:"_id,omitempty" json:"id,omitempty"` // ID field of the user document FirstName string `bson:"firstName" json:"firstName"` // First name of the user LastName string `bson:"lastName" json:"lastName"` // Last name of the user }
User struct represents the schema of a user document in MongoDB
Click to show internal directories.
Click to hide internal directories.