yq/pkg/yqlib/read_navigation_strategy.go

12 lines
237 B
Go
Raw Normal View History

2019-12-25 01:11:04 +00:00
package yqlib
func ReadNavigationStrategy() NavigationStrategy {
2019-12-28 07:19:37 +00:00
return &NavigationStrategyImpl{
visitedNodes: []*NodeContext{},
pathParser: NewPathParser(),
2019-12-28 07:19:37 +00:00
visit: func(nodeContext NodeContext) error {
2019-12-25 01:11:04 +00:00
return nil
},
}
}