Documentation ¶ Index ¶ func GetAttr(node *html.Node, key string) (string, bool) func ResolveReferences(input string, base *url.URL) (string, error) func SetAttr(node *html.Node, key string, value string) func Walk(node *html.Node, walkFunc func(node *html.Node) error) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetAttr ¶ func GetAttr(node *html.Node, key string) (string, bool) func ResolveReferences ¶ func ResolveReferences(input string, base *url.URL) (string, error) Resolve hrefs and srcs in input. func SetAttr ¶ func SetAttr(node *html.Node, key string, value string) func Walk ¶ func Walk(node *html.Node, walkFunc func(node *html.Node) error) error Walk walks a node by performing a depth-first search. Types ¶ This section is empty. Source Files ¶ View all Source files attr.go resolve.go walk.go Click to show internal directories. Click to hide internal directories.