diff --git a/document.go b/document.go index 587129e..7824d25 100644 --- a/document.go +++ b/document.go @@ -10,9 +10,9 @@ type Document struct { Created time.Time `bson:"createdAt" json:"createdAt"` // Modified time. updated/added automatically. Modified time.Time `bson:"updatedAt" json:"updatedAt"` - model *Model - exists bool `bson:"-"` - self any `bson:"-"` + model *Model `bson:"-"` + exists bool `bson:"-"` + self any `bson:"-"` } type IDocument interface { Append(field string, a ...interface{}) error