lib

package
v0.0.0-...-6efd1a8 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(msg string, err error)

Check exits on error but provides an error message

func Exit

func Exit(msg string)

Exit causes the program to quit

Types

type Link struct {
	Href string
	Text string
}

Link represents a link (<a href='...'>...</a>) node

func Parse

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

Parse will parse an html reader interface support source and returns a []Link struct or error

Jump to

Keyboard shortcuts

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