(value NodeValue, id int)
| 24 | } |
| 25 | |
| 26 | func (n *Root) CreateChild(value NodeValue, id int) Node { |
| 27 | return &Edge{ |
| 28 | ID: id, |
| 29 | NodeValue: value, |
| 30 | Parent: n, |
| 31 | NodeLeft: nil, |
| 32 | NodeRight: nil, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | func (n *Root) GetID() int { |
| 37 | return n.ID |
nothing calls this directly
no outgoing calls
no test coverage detected