Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add mongo.EmptyObject

  • Loading branch information...
commit 8cdabecf3fdcbffa24823b3f2b93cb40fd3c1c33 1 parent 5c5404b
@mikejs authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  bson.go
View
2  bson.go
@@ -146,6 +146,8 @@ func (o *_Object) Bytes() []byte {
return bytes.Add(b, buf.Bytes());
}
+var EmptyObject BSON = &_Object{map[string]BSON{}, _Null{}}
+
type _Array struct {
value *vector.Vector;
_Null;
Please sign in to comment.
Something went wrong with that request. Please try again.