some debugging
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user