Children returns the children of the BasicEntity
()
| 86 | |
| 87 | // Children returns the children of the BasicEntity |
| 88 | func (e *BasicEntity) Children() []BasicEntity { |
| 89 | ret := []BasicEntity{} |
| 90 | for _, child := range e.children { |
| 91 | ret = append(ret, *child) |
| 92 | } |
| 93 | return ret |
| 94 | } |
| 95 | |
| 96 | // var visited map[uint64]struct{} |
| 97 | // var descs []*BasicEntity |
no outgoing calls