removed unused func

This commit is contained in:
bjt-user 2024-05-06 01:22:48 +02:00
parent 2c52f950ca
commit 10f0126394

10
main.go
View File

@ -49,16 +49,6 @@ func get_parents(headings []heading) {
}
}
func print_children(heading *heading, headings []heading) {
fmt.Printf("pointer of parent: %p\n", heading)
for index, _ := range headings {
if headings[index].parent == heading {
fmt.Printf("Header of parent %p: %s\n", heading, headings[index].text)
}
}
}
func print_children_recursive(heading *heading, headings []heading) {
for index, _ := range headings {
if headings[index].parent == heading {