| 1 | package problem18 |
| 2 | |
| 3 | type Leaf struct { |
| 4 | ID int |
| 5 | NodeValue NodeValue |
| 6 | NodeLeft *Leaf |
| 7 | NodeRight *Leaf |
| 8 | Parent Node |
| 9 | } |
| 10 | |
| 11 | func (n *Leaf) Value() NodeValue { |
| 12 | return n.NodeValue |
nothing calls this directly
no outgoing calls
no test coverage detected