Categorygithub.com/akshaybabloo/mongo/v2
modulepackage
2.1.1
Repository: https://github.com/akshaybabloo/mongo.git
Documentation: pkg.go.dev

# README

Mongo

Mongo Test codecov GoDoc

A simple wrapper for Go's Mongo Driver

Instillation

Use Go modules

go get github.com/akshaybabloo/mongo/v2

Usage

Unlike the MongoDB driver, this library depends on id and NOT _id. That means you will have to create an index for id field.

See example_test.go

# Functions

NewMongoClient returns Client and it's associated functions.

# Structs

Client takes in the.