modulepackage
0.0.0-20240210050341-693b71a7c438
Repository: https://github.com/twodarek/go-htmlutil.git
Documentation: pkg.go.dev
# Functions
GetAllHtmlNodes is a convenience function for GetHtmlNodes() that returns all matching HTML nodes.
GetAllHtmlNodesAllowAttrSubstring is a convenience function for GetHtmlNodes() that returns all matching HTML nodes, allowing for an attribute value to be a superstring of the string passed in.
GetFirstHtmlNode is a convenience function for GetHtmlNodes() that returns the first matching node.
GetFirstHtmlNodeAllowAttrSubstring is a convenience function for GetHtmlNodes() that returns the first matching node, allowing for an attribute value to be a superstring of the string passed in.
GetHtmlNodes returns the HTML nodes found within the provided node given a tag, attribute, and attribute value up to the provided count.
HtmlNodeToString converts an HTML node to a string for easier printing.
RemoveAllHtmlAttrs is a convenience function for RemoveHtmlAttrs() that removes all matching attributes.
RemoveAllHtmlNodes is a convenience function for RemoveHtmlNodes() that removes all matching HTML nodes.
RemoveFirstHtmlAttr is a convenience function for RemoveHtmlAttrs() that removes the first matching attribute.
RemoveFirstHtmlNode is a convenience function for RemoveHtmlNodes() that removes the first matching node.
RemoveHtmlAttrs removes HTML attributes matching the provided tag, attribute, and value up to the provided count.
RemoveHtmlNodes removes the HTML nodes found within the provided node given a tag, attribute, and attribute value up to the provided count.