Long-time Golang user&contributor, Google Dev Expert for Go, and author of many Go tools, Vim plugin author. Windows hacker C#/Java/C/C++, ex-GitHubStars
This package wraps the standard XML library and uses it to build a node tree of any document you load. This allows you to look up nodes forwards and backwards, as well as perform simple search queries. Nodes now simply become collections and don't require you to read them in the order in which the xml.Parser finds them. The Document currently implements 2 search functions which allow you to look for specific nodes. SelectNode() returns the first, single node it finds matching the given name and namespace. SelectNodes() returns a slice containing all the matching nodes (without recursing into matching nodes). SelectNodesRecursive() returns a slice of all matching nodes, including nodes inside other matching nodes. Note that these search functions can be invoked on individual nodes as well. This allows you to search only a subset of the entire document.
Go - Released: 08 Feb 2018 - 5
Oracle custom metrics plugin for mackerel.io agent.
Go - Released: 13 Dec 2017 - 6