| 
47 | 47 | //  5. BSON boolean unmarshals to a bool.  | 
48 | 48 | //  6. BSON embedded document unmarshals to the parent type (i.e. D for a D, M for an M).  | 
49 | 49 | //  7. BSON array unmarshals to a bson.A.  | 
50 |  | -//  8. BSON ObjectId unmarshals to a primitive.ObjectID.  | 
51 |  | -//  9. BSON datetime unmarshals to a primitive.DateTime.  | 
52 |  | -//  10. BSON binary unmarshals to a primitive.Binary.  | 
53 |  | -//  11. BSON regular expression unmarshals to a primitive.Regex.  | 
54 |  | -//  12. BSON JavaScript unmarshals to a primitive.JavaScript.  | 
55 |  | -//  13. BSON code with scope unmarshals to a primitive.CodeWithScope.  | 
56 |  | -//  14. BSON timestamp unmarshals to an primitive.Timestamp.  | 
57 |  | -//  15. BSON 128-bit decimal unmarshals to an primitive.Decimal128.  | 
58 |  | -//  16. BSON min key unmarshals to an primitive.MinKey.  | 
59 |  | -//  17. BSON max key unmarshals to an primitive.MaxKey.  | 
60 |  | -//  18. BSON undefined unmarshals to a primitive.Undefined.  | 
 | 50 | +//  8. BSON ObjectId unmarshals to a bson.ObjectID.  | 
 | 51 | +//  9. BSON datetime unmarshals to a bson.DateTime.  | 
 | 52 | +//  10. BSON binary unmarshals to a bson.Binary.  | 
 | 53 | +//  11. BSON regular expression unmarshals to a bson.Regex.  | 
 | 54 | +//  12. BSON JavaScript unmarshals to a bson.JavaScript.  | 
 | 55 | +//  13. BSON code with scope unmarshals to a bson.CodeWithScope.  | 
 | 56 | +//  14. BSON timestamp unmarshals to an bson.Timestamp.  | 
 | 57 | +//  15. BSON 128-bit decimal unmarshals to an bson.Decimal128.  | 
 | 58 | +//  16. BSON min key unmarshals to an bson.MinKey.  | 
 | 59 | +//  17. BSON max key unmarshals to an bson.MaxKey.  | 
 | 60 | +//  18. BSON undefined unmarshals to a bson.Undefined.  | 
61 | 61 | //  19. BSON null unmarshals to nil.  | 
62 |  | -//  20. BSON DBPointer unmarshals to a primitive.DBPointer.  | 
63 |  | -//  21. BSON symbol unmarshals to a primitive.Symbol.  | 
 | 62 | +//  20. BSON DBPointer unmarshals to a bson.DBPointer.  | 
 | 63 | +//  21. BSON symbol unmarshals to a bson.Symbol.  | 
64 | 64 | //  | 
65 | 65 | // The above mappings also apply when marshaling a D or M to BSON. Some other useful marshaling mappings are:  | 
66 | 66 | //  | 
 | 
0 commit comments