Documentation
¶
Overview ¶
Package bson is an implementation of the BSON specification for Go:
http://bsonspec.org
It was created as part of the mgo MongoDB driver for Go, but is standalone and may be used on its own without the driver.
Index ¶
- Variables
- func IsObjectIdHex(s string) bool
- func Marshal(in interface{}) (out []byte, err error)
- func MarshalJSON(value interface{}) ([]byte, error)
- func Now() time.Time
- func Unmarshal(in []byte, out interface{}) (err error)
- func UnmarshalJSON(data []byte, value interface{}) error
- type Binary
- type D
- type DBPointer
- type Decimal128
- type DocElem
- type Getter
- type JavaScript
- type M
- type MongoTimestamp