html

package
v0.0.0-...-6852116 Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeadElementValue

func GetHeadElementValue(r io.Reader, element string) (string, error)

GetHeadElementValue get the value of element from the <head> of the reader r. Useful for getting the title of an HTML page, for example.

func GetHeadProperty

func GetHeadProperty(r io.Reader, element, keyAttrName, keyAttrVal, valAttr string) (string, error)

GetHeadProperty gets the valAttr attribute's value from the element that has keyAttrVal for keyAttrName.

Types

This section is empty.

Jump to

Keyboard shortcuts

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