mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
9 lines
277 B
Go
9 lines
277 B
Go
package yqlib
|
|
|
|
import "container/list"
|
|
|
|
func valueOperator(d *dataTreeNavigator, matchMap *list.List, pathNode *PathTreeNode) (*list.List, error) {
|
|
log.Debug("value = %v", pathNode.Operation.CandidateNode.Node.Value)
|
|
return nodeToMap(pathNode.Operation.CandidateNode), nil
|
|
}
|