db

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoC = ConnectDB()

Functions

func CheckConnection

func CheckConnection() bool

func ConnectDB

func ConnectDB() *mongo.Client

func SaveAllUserPoints

func SaveAllUserPoints(users []models.User) error

func SavePoints

func SavePoints(user models.User) (string, bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL