databases

package
v0.0.0-...-c16b10e Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoClient *mongo.Client

Functions

func ConnectDB

func ConnectDB(c *gin.Context) *mongo.Client

func DisconnectDB

func DisconnectDB(ctx context.Context)

! TODO Disconnect

func GetNextSequence

func GetNextSequence(sequenceName string, ctx *gin.Context) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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