GetNode returns the matching *Node for a given key
(key string)
| 68 | |
| 69 | // GetNode returns the matching *Node for a given key |
| 70 | func (o Object) GetNode(key string) *Node { |
| 71 | return o.GetNodeFunc(func(candidate string) bool { |
| 72 | return key == candidate |
| 73 | }) |
| 74 | } |
| 75 | |
| 76 | // GetNodeI is like GetNode, but case-insensitive |
| 77 | func (o Object) GetNodeI(key string) *Node { |
no test coverage detected