package
1.0.1
Repository: https://github.com/chrisbowcutt/go-sdk.git
Documentation: pkg.go.dev

# Functions

NewCollection creates and returns an instance of Collection that contains actual pointer to mongo's collection.

# Structs

Collection In order to mock mongo operations, mongo collection is embedded into Collection.
Cursor contains emedded mongo.Cursor in order to override its methods.
SingleResult countains instance of mongo.SingleResult to mock its methods so that: - In keploy.MODE_RECORD mode, stores the encoded output(generated by mocked methods of mongo.SingleResult) into keploy's Context Deps array.