htmlutil

package
Version: v0.0.0-...-58998d9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetElementByID

func GetElementByID(id string, n *html.Node) (element *html.Node, ok bool)

GetElementByID returns the html.Node for a specific id tag

func ValueForAttribute

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

ValueForAttribute is a utility function returning a value given a key

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL