mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 13:48:06 +00:00
17 lines
351 B
Go
17 lines
351 B
Go
package yqlib
|
|
|
|
func ReadNavigationStrategy() NavigationStrategy {
|
|
return &NavigationStrategyImpl{
|
|
visitedNodes: []*NodeContext{},
|
|
followAlias: func(nodeContext NodeContext) bool {
|
|
return true
|
|
},
|
|
autoCreateMap: func(nodeContext NodeContext) bool {
|
|
return false
|
|
},
|
|
visit: func(nodeContext NodeContext) error {
|
|
return nil
|
|
},
|
|
}
|
|
}
|