mirror of
https://github.com/taigrr/yq
synced 2025-01-18 04:53:17 -08:00
21 lines
523 B
Go
21 lines
523 B
Go
package yqlib
|
|
|
|
import (
|
|
yaml "gopkg.in/yaml.v3"
|
|
)
|
|
|
|
func ReadNavigationSettings() NavigationSettings {
|
|
return &NavigationSettingsImpl{
|
|
visitedNodes: []*VisitedNode{},
|
|
followAlias: func(node *yaml.Node, head string, tail []string, pathStack []interface{}) bool {
|
|
return true
|
|
},
|
|
autoCreateMap: func(node *yaml.Node, head string, tail []string, pathStack []interface{}) bool {
|
|
return false
|
|
},
|
|
visit: func(node *yaml.Node, head string, tail []string, pathStack []interface{}) error {
|
|
return nil
|
|
},
|
|
}
|
|
}
|