Documentation ¶
Overview ¶
Package datastore handles all database configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Session *mgo.Session
)
Functions ¶
func FetchNumHours ¶
FetchNumHours returns total number of hours of given users.
func NewUser ¶
NewUser returns a hex representation of the inputs ObjectID and insert errors into new database.
func UpdateUser ¶
UpdateUser updates minutes studied to current users via discordID.
Types ¶
Click to show internal directories.
Click to hide internal directories.