link

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	Href string `json:"href,omitempty"`
	Text string `json:"text,omitempty"`
}

Link is a parsed representation of HTML <a> tag

func Find

func Find(r io.Reader) ([]Link, error)

Find reads HTML from provided reader and returns found links

Jump to

Keyboard shortcuts

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