Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client *mongo.Client
Client is the mongodb client of the whole application
View Source
var DB *mongo.Database
DB default database to use
View Source
var Tables []string = []string{"users"}
Tables all tables name
View Source
var UserModel *mongo.Collection
UserModel represent users table
View Source
var WorkspaceModel *mongo.Collection
WorkspaceModel reposents workspace table
Functions ¶
func CreateWorkspace ¶
CreateWorkspace store workspace details in the database
Types ¶
Click to show internal directories.
Click to hide internal directories.