database

package
v0.0.0-...-dbce6a0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Client Database instance

Functions

func DBinstance

func DBinstance() *mongo.Client

DBinstance func

func OpenCollection

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

OpenCollection is a function makes a connection with a collection in the database

Types

This section is empty.

Jump to

Keyboard shortcuts

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