mongoserviceprovider

package
v0.0.0-...-553297e Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCollectionFromDB

func GetCollectionFromDB(client *mongo.Client, db string, collection string) *mongo.Collection

func GetDataFromCursor

func GetDataFromCursor(mongoCollection *mongo.Collection) []string

Types

type Mongo

type Mongo struct {
	Client *mongo.Client
}

func (Mongo) GetClient

func (m Mongo) GetClient() *mongo.Client

Jump to

Keyboard shortcuts

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