database

package
v0.0.0-...-f81473c Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = DBInstance()

Client instantiate a Database instance

View Source
var (
	DB_NAME = "axxxe"
)

Functions

func DBInstance

func DBInstance() *mongo.Client

func OpenCollection

func OpenCollection(client *mongo.Client, collectionName string) *mongo.Collection

OpenCollection open a MongoDB collection

Types

This section is empty.

Jump to

Keyboard shortcuts

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