package
1.0.159
Repository: https://github.com/godaddy-x/freego.git
Documentation: pkg.go.dev

# Functions

CloneDocument creates a deep-clone of a document.
NewDocument is a Document constructor that takes a string URL as argument.
NewDocumentFromNode is a Document constructor that takes a root html Node as argument.
NewDocumentFromReader returns a Document from an io.Reader.
NewDocumentFromResponse is another Document constructor that takes an http response as argument.
NodeName returns the node name of the first element in the selection.
OuterHtml returns the outer HTML rendering of the first item in the selection - that is, the HTML including the first element's tag and attributes.
No description provided by the author
No description provided by the author

# Constants

ToEnd is a special index value that can be used as end index in a call to Slice so that all elements are selected until the end of the Selection.

# Structs

Document represents an HTML document to be manipulated.
No description provided by the author
Selection represents a collection of nodes matching some criteria.

# Interfaces

Matcher is an interface that defines the methods to match HTML nodes against a compiled selector string.