some debugging

This commit is contained in:
Daniel Goc
2026-03-25 10:42:25 +01:00
parent e279899e49
commit f81eb84499
17 changed files with 70 additions and 67 deletions

View File

@@ -1,6 +1,7 @@
package menuService
import (
"fmt"
"sort"
"git.ma-al.com/goc_daniel/b2b/app/model"
@@ -27,6 +28,10 @@ func (s *MenuService) GetMenu(id_lang uint) (*model.Category, error) {
return &model.Category{}, err
}
fmt.Printf("all_categories: %v\n", all_categories)
fmt.Printf("id_lang: %v\n", id_lang)
// find the root
root_index := 0
root_found := false