href

package
v0.0.0-...-6432134 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package href extracts HTML <a href> attributes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extractor

type Extractor struct {
	// contains filtered or unexported fields
}

Extractor extracts <a href> links from HTML.

func New

func New(r io.Reader) *Extractor

New returns an Extractor that reads from r.

func (*Extractor) Next

func (e *Extractor) Next() (string, error)

Next returns the next link, or io.EOF.

Jump to

Keyboard shortcuts

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