linkparser

package
v0.0.0-...-76a21d3 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 4 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 represents an <a> tag

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

ParseLinks parses a document for link tags in it

func (Link) String

func (l Link) String() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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