Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BSONEquals = &codecEqualChecker{ name: "BSONEquals", marshal: bson.Marshal, unmarshal: bson.Unmarshal, }
BSONEquals defines a checker that checks whether a byte slice, when unmarshaled as BSON, is equal to the given value. Rather than unmarshaling into something of the expected body type, we reform the expected body in BSON and back to interface{} so we can check the whole content. Otherwise we lose information when unmarshaling.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.