mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-07-05 11:02:49 +00:00
oops, missed a spot before
run gofmt, remove an unused bit
This commit is contained in:
parent
835529947b
commit
e4cd5e4a5f
@ -96,7 +96,7 @@ func Tree(hyphaName string) (siblingsHTML, childrenHTML, prev, next string) {
|
|||||||
wg.Done()
|
wg.Done()
|
||||||
}()
|
}()
|
||||||
go func() {
|
go func() {
|
||||||
children = figureOutChildren(hyphaName, true).children
|
children = figureOutChildren(hyphaName).children
|
||||||
wg.Done()
|
wg.Done()
|
||||||
}()
|
}()
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
@ -124,7 +124,7 @@ type child struct {
|
|||||||
children []child
|
children []child
|
||||||
}
|
}
|
||||||
|
|
||||||
func figureOutChildren(hyphaName string, exists bool) child {
|
func figureOutChildren(hyphaName string) child {
|
||||||
var (
|
var (
|
||||||
descPrefix = hyphaName + "/"
|
descPrefix = hyphaName + "/"
|
||||||
child = child{hyphaName, true, make([]child, 0)}
|
child = child{hyphaName, true, make([]child, 0)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user