Skip to content

Examples for the mongo-go-driver mock 'hidden' feature

Notifications You must be signed in to change notification settings

victorneuret/mongo-go-driver-mock

Repository files navigation

mongo-go-driver-mock

This repository aim to give examples of the mocking feature of mongo-go-driver.

Tests Examples

  • InsertOne
  • InsertMany
  • DeleteOne
  • FindOne
  • Find
  • FindOneAndUpdate
  • Write Error (duplicate error)

The repository was originally made to serve as an example for my Medium article.

About

Examples for the mongo-go-driver mock 'hidden' feature

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages