The bsoncore package works well for constructing BSON as a []byte but it tends to be verbose. Adding a simple builder style constructor would enable single line building of BSON. Add this type, it should contain an appender for each BSON type and Start and End appenders for BSON types that contain documents.
- is related to
-
GODRIVER-413 Implement Improved BSON Design
- Closed
- related to
-
GODRIVER-639 bsoncore.BuildArray() function to mirror bsoncore.BuildDocument
- Closed
-
GODRIVER-1408 Add helpers for bsoncore.Document and bsoncore.Array
- Backlog