(id string)
| 43 | } |
| 44 | |
| 45 | func NewDocument(id string) *Document { |
| 46 | return &Document{ |
| 47 | id: id, |
| 48 | Fields: make([]Field, 0), |
| 49 | CompositeFields: make([]*CompositeField, 0), |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | func NewSynonymDocument(id string) *Document { |
| 54 | return &Document{ |
no outgoing calls
searching dependent graphs…