db

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(uri string) *mongo.Client

Connect recives a mongo url string and returns a mongo client of that connection.

func GeneratePath

func GeneratePath() string

GeneratePath returns a formated string of the mongo url given global enviroments of the credentials, url and port

Types

This section is empty.

Jump to

Keyboard shortcuts

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