Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BSONSplitter is used to separate collection and document in a string.
BSONSplitter = "$"
)
Variables ¶
View Source
var ErrInvalidBSONKey = errors.New("invalid bson key")
ErrInvalidBSONKey is returned when the given bsonKey is invalid.
Functions ¶
This section is empty.
Types ¶
type Key ¶
Key represents the key of the Document.
func FromBSONKey ¶
FromBSONKey creates an instance of Key from the received bsonKey.
Click to show internal directories.
Click to hide internal directories.