helpers

package
v0.0.0-...-a590297 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttribute

func GetAttribute(n *html.Node, key string) (string, bool)

func GetElementByClass

func GetElementByClass(n *html.Node, class string) *html.Node

func GetElementById

func GetElementById(n *html.Node, id string) *html.Node

nolint:deadcode,unused // This function used next turn

func GetListElementByTag

func GetListElementByTag(n *html.Node, tag string) []*html.Node

func InnerText

func InnerText(n *html.Node, tag string) string

func RenderNode

func RenderNode(n *html.Node) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL