diff --git a/aql/hierarchy.go b/aql/hierarchy.go index e159c2061fe848a668446e9ad2461d7aaa17d293..a437ad226e9201e382698dd42c8f61574ee80823 100644 --- a/aql/hierarchy.go +++ b/aql/hierarchy.go @@ -432,7 +432,7 @@ func AboveAppend(list [][]pdict, index int, value []pdict) [][]pdict { return BelowAppend(list, index-1, value) } -// A function that appends 1 level below (thanks to wasmup on stackoverflow) +// A function that appends 1 level below func BelowAppend(lists [][]pdict, index int, value []pdict) [][]pdict { if len(lists)-1 == index { // nil or empty slice or after last element return append(lists, value)