html

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalizeURL

func CanonicalizeURL(base *url.URL, rawurl string) (string, error)

CanonicalizeURL parses an URL relative to a base and removes the fragment.

func ParseLinks(body io.Reader) []string

ParseLinks parses an HTML file and returns all outgoing links.

Types

This section is empty.

Jump to

Keyboard shortcuts

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