package
8.2.2+incompatible
Repository: https://github.com/lucbarr/extensions.git
Documentation: pkg.go.dev

# Functions

NewMockBulk creates a new mock instance.
NewMockCollection creates a new mock instance.
NewMockIter creates a new mock instance.
NewMockMongoDB creates a new mock instance.
NewMockQuery creates a new mock instance.
NewMockSession creates a new mock instance.

# Structs

MockBulk is a mock of Bulk interface.
MockBulkMockRecorder is the mock recorder for MockBulk.
MockCollection is a mock of Collection interface.
MockCollectionMockRecorder is the mock recorder for MockCollection.
MockIter is a mock of Iter interface.
MockIterMockRecorder is the mock recorder for MockIter.
MockMongoDB is a mock of MongoDB interface.
MockMongoDBMockRecorder is the mock recorder for MockMongoDB.
MockQuery is a mock of Query interface.
MockQueryMockRecorder is the mock recorder for MockQuery.
MockSession is a mock of Session interface.
MockSessionMockRecorder is the mock recorder for MockSession.

# Interfaces

Bulk contains methods to be executed at one at server.
Collection represents a mongoDB collection.
Iter wraps mongo Iter.
MongoDB represents the contract for a Mongo DB.
Query wraps mongo Query.
Session is the mongoDB session.