Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertSoon
deprecated
added in
v1.12.0
AssertSoon runs the provided callback and fails the passed-in test if the callback does not complete within timeout. The provided callback should respect the passed-in context and cease execution when it has expired.
Deprecated: This function will be removed with GODRIVER-2667, use assert.Eventually instead.
func FindJSONFilesInDir ¶
FindJSONFilesInDir finds the JSON files in a directory.
func RawToDocuments ¶ added in v1.11.0
RawToDocuments converts a bson.Raw that is internally an array of documents to []bson.Raw.
func RawToInterfaces ¶ added in v1.11.0
RawToInterfaces takes one or many bson.Raw documents and returns them as a []interface{}.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.