Documentation ¶
Index ¶
Constants ¶
View Source
const DBNAME = "hotel-reservation"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoUserStore ¶
type MongoUserStore struct {
// contains filtered or unexported fields
}
mongo implementation
func NewMongoUserStore ¶
func NewMongoUserStore(client *mongo.Client) *MongoUserStore
func (*MongoUserStore) GetUserByID ¶
Click to show internal directories.
Click to hide internal directories.