Remove non-documentation lint
Because of extensive nature of changes, tested all three non-memstore backends - passed.
This commit is contained in:
parent
6614466d23
commit
484bf145a8
35 changed files with 277 additions and 284 deletions
|
|
@ -34,13 +34,11 @@ func (q *Query) treeifyResult(tags map[string]graph.Value) map[ResultPath]string
|
|||
resultPaths[k.ToResultPathFromMap(results)] = v
|
||||
}
|
||||
|
||||
var paths ResultPathSlice
|
||||
|
||||
for path, _ := range resultPaths {
|
||||
paths := make([]ResultPath, 0, len(resultPaths))
|
||||
for path := range resultPaths {
|
||||
paths = append(paths, path)
|
||||
}
|
||||
|
||||
sort.Sort(paths)
|
||||
sort.Sort(byRecordLength(paths))
|
||||
|
||||
// Build Structure
|
||||
for _, path := range paths {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue