parser

package
v0.0.0-...-f717e8e Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareInsensitive

func CompareInsensitive(a, b string) bool

Pseudo code

Types

type HtmlNode

type HtmlNode Node
type Link struct {
	Href string
	Text string
}

type PageParser

type PageParser struct {
}

func (*PageParser) Parse

func (p *PageParser) Parse(htmlString string) ([]Link, error)

type Parser

type Parser interface {
	Parse(html string) []Link
}

Jump to

Keyboard shortcuts

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