mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-15 07:38:14 +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
|
|
}
|