link

package
v0.0.0-...-b9d7ed1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	Href string
	Text string
}

Link maps an html link with the text enclosed

func Parse

func Parse(data string) ([]Link, error)

Parse an html file to retrieve <a>...</a> tags It then a struct mapping the <a>...</a> substree

Jump to

Keyboard shortcuts

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