Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collections ¶
type Collections struct {
User *mongo.Collection
}
func (Collections) FindUserDocument ¶
func (coll Collections) FindUserDocument(DiscordUser *models.DiscordUser)
This allows the user to be persistent across pages.
func (Collections) InsertUserDocument ¶
func (coll Collections) InsertUserDocument(DiscordUser *models.DiscordUser)
Inserts a discord user into the database in order to keep track of tables.
Click to show internal directories.
Click to hide internal directories.