| 3 | type Comparable func(c1 interface{}, c2 interface{}) bool |
| 4 | |
| 5 | type BinaryTree struct { |
| 6 | node interface{} |
| 7 | left *BinaryTree |
| 8 | right *BinaryTree |
| 9 | lessFun Comparable |
| 10 | } |
| 11 | |
| 12 | func New(compareFun Comparable) *BinaryTree { |
| 13 | return &BinaryTree{ |
nothing calls this directly
no outgoing calls
no test coverage detected